Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools lib traceevent: Change to SPDX License format

Replaced COPYING with a description of how the SPDX identifiers are
used. Added a GPL-2.0 and LGPL-2.1 license file in the new LICENSES
directory. Then removed all the license templates from the source files
and replaced them with the corresponding SPDX identifier.

Link: http://lore.kernel.org/linux-trace-devel/20200702174950.123454-6-tz.stoyanov@gmail.com

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
[ Ported from trace-cmd.git ]
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: linux-trace-devel@vger.kernel.org
Link: http://lore.kernel.org/lkml/20200702185705.601167185@goodmis.org
Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Steven Rostedt (VMware) and committed by
Arnaldo Carvalho de Melo
4e59ab93 9b8179b3

+11 -174
+1 -15
tools/lib/traceevent/event-parse.h
··· 1 + /* SPDX-License-Identifier: LGPL-2.1 */ 1 2 /* 2 3 * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 3 4 * 4 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU Lesser General Public 7 - * License as published by the Free Software Foundation; 8 - * version 2.1 of the License (not later!) 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU Lesser General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU Lesser General Public 16 - * License along with this program; if not, see <http://www.gnu.org/licenses> 17 - * 18 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 5 */ 20 6 #ifndef _PARSE_EVENTS_H 21 7 #define _PARSE_EVENTS_H
+1 -16
tools/lib/traceevent/kbuffer.h
··· 1 + /* SPDX-License-Identifier: LGPL-2.1 */ 1 2 /* 2 3 * Copyright (C) 2012 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 3 4 * 4 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU Lesser General Public 7 - * License as published by the Free Software Foundation; 8 - * version 2.1 of the License (not later!) 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU Lesser General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU Lesser General Public 16 - * License along with this program; if not, write to the Free Software 17 - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18 - * 19 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20 5 */ 21 6 #ifndef _KBUFFER_H 22 7 #define _KBUFFER_H
+1 -16
tools/lib/traceevent/plugins/plugin_function.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 3 - * 4 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU Lesser General Public 7 - * License as published by the Free Software Foundation; 8 - * version 2.1 of the License (not later!) 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU Lesser General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU Lesser General Public 16 - * License along with this program; if not, see <http://www.gnu.org/licenses> 17 - * 18 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 4 */ 20 5 #include <stdio.h> 21 6 #include <stdlib.h>
+1 -15
tools/lib/traceevent/plugins/plugin_futex.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright (C) 2017 National Instruments Corp. 3 4 * 4 5 * Author: Julia Cartwright <julia@ni.com> 5 6 * 6 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 - * This program is free software; you can redistribute it and/or 8 - * modify it under the terms of the GNU Lesser General Public 9 - * License as published by the Free Software Foundation; 10 - * version 2.1 of the License (not later!) 11 - * 12 - * This program is distributed in the hope that it will be useful, 13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 - * GNU Lesser General Public License for more details. 16 - * 17 - * You should have received a copy of the GNU Lesser General Public 18 - * License along with this program; if not, see <http://www.gnu.org/licenses> 19 - * 20 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 7 */ 22 8 #include <stdio.h> 23 9 #include <stdlib.h>
+1 -16
tools/lib/traceevent/plugins/plugin_hrtimer.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright (C) 2009 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 3 4 * Copyright (C) 2009 Johannes Berg <johannes@sipsolutions.net> 4 - * 5 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU Lesser General Public 8 - * License as published by the Free Software Foundation; 9 - * version 2.1 of the License (not later!) 10 - * 11 - * This program is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 - * GNU Lesser General Public License for more details. 15 - * 16 - * You should have received a copy of the GNU Lesser General Public 17 - * License along with this program; if not, see <http://www.gnu.org/licenses> 18 - * 19 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20 5 */ 21 6 #include <stdio.h> 22 7 #include <stdlib.h>
+1 -16
tools/lib/traceevent/plugins/plugin_jbd2.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright (C) 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 3 - * 4 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU Lesser General Public 7 - * License as published by the Free Software Foundation; 8 - * version 2.1 of the License (not later!) 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU Lesser General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU Lesser General Public 16 - * License along with this program; if not, see <http://www.gnu.org/licenses> 17 - * 18 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 4 */ 20 5 #include <stdio.h> 21 6 #include <stdlib.h>
+1 -16
tools/lib/traceevent/plugins/plugin_kmem.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright (C) 2009 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 3 - * 4 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU Lesser General Public 7 - * License as published by the Free Software Foundation; 8 - * version 2.1 of the License (not later!) 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU Lesser General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU Lesser General Public 16 - * License along with this program; if not, see <http://www.gnu.org/licenses> 17 - * 18 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 4 */ 20 5 #include <stdio.h> 21 6 #include <stdlib.h>
+1 -16
tools/lib/traceevent/plugins/plugin_kvm.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright (C) 2009 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 3 - * 4 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU Lesser General Public 7 - * License as published by the Free Software Foundation; 8 - * version 2.1 of the License (not later!) 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU Lesser General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU Lesser General Public 16 - * License along with this program; if not, see <http://www.gnu.org/licenses> 17 - * 18 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 4 */ 20 5 #include <stdio.h> 21 6 #include <stdlib.h>
+1 -16
tools/lib/traceevent/plugins/plugin_mac80211.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright (C) 2009 Johannes Berg <johannes@sipsolutions.net> 3 - * 4 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU Lesser General Public 7 - * License as published by the Free Software Foundation; 8 - * version 2.1 of the License (not later!) 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU Lesser General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU Lesser General Public 16 - * License along with this program; if not, see <http://www.gnu.org/licenses> 17 - * 18 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 4 */ 20 5 #include <stdio.h> 21 6 #include <stdlib.h>
+1 -16
tools/lib/traceevent/plugins/plugin_sched_switch.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 3 - * 4 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU Lesser General Public 7 - * License as published by the Free Software Foundation; 8 - * version 2.1 of the License (not later!) 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU Lesser General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU Lesser General Public 16 - * License along with this program; if not, see <http://www.gnu.org/licenses> 17 - * 18 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 4 */ 20 5 #include <stdio.h> 21 6 #include <stdlib.h>
+1 -16
tools/lib/traceevent/plugins/plugin_tlb.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright (C) 2015 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 3 - * 4 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU Lesser General Public 7 - * License as published by the Free Software Foundation; 8 - * version 2.1 of the License (not later!) 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU Lesser General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU Lesser General Public 16 - * License along with this program; if not, see <http://www.gnu.org/licenses> 17 - * 18 - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 4 */ 20 5 #include <stdio.h> 21 6 #include <stdlib.h>