perf tests: Add missing SPDX headers
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Jun 2019 21:29:05 +0000 (18:29 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Jun 2019 18:57:19 +0000 (15:57 -0300)
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-p0kg493z2m8qizjbdefzip1i@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
16 files changed:
tools/perf/tests/Build
tools/perf/tests/bp_account.c
tools/perf/tests/bpf-script-example.c
tools/perf/tests/bpf-script-test-kbuild.c
tools/perf/tests/bpf-script-test-prologue.c
tools/perf/tests/bpf-script-test-relocation.c
tools/perf/tests/bpf.c
tools/perf/tests/map_groups.c
tools/perf/tests/mem.c
tools/perf/tests/mem2node.c
tools/perf/tests/shell/lib/probe.sh
tools/perf/tests/shell/probe_vfs_getname.sh
tools/perf/tests/shell/record+probe_libc_inet_pton.sh
tools/perf/tests/shell/record+script_probe_vfs_getname.sh
tools/perf/tests/shell/record+zstd_comp_decomp.sh
tools/perf/tests/shell/trace+probe_vfs_getname.sh

index e3ba63cef01ed84d2476ef3a1a3d4dde0d7d57aa..e72accefd669b1669886e46ceffe1638fe9e841a 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+
 perf-y += builtin-test.o
 perf-y += parse-events.o
 perf-y += dso-data.o
index 57fc544aedb0e60acae2c18d49c103001f55a2e4..153624e2d0f5e1bfa82f5b300a85783995f52937 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Powerpc needs __SANE_USERSPACE_TYPES__ before <linux/types.h> to select
  * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu.
index 1ca5106df5f15a58a20500294c038db954304c3a..ab4b98b3165db015e7210c3e0c48066e9910ef3e 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * bpf-script-example.c
  * Test basic LLVM building
index ff3ec8337f0a2eeb8062ccf6064f677fdd4078a3..219673aa278fb4dd9927e24e62adfa65ca174f75 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * bpf-script-test-kbuild.c
  * Test include from kernel header
index 43f1e16486f495ba3899875f5ffd38cd91228afd..bd83d364cf30d6dab64fa2784c279ee589bf3dc8 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * bpf-script-test-prologue.c
  * Test BPF prologue
index 93af774218161f7771fd51cf76886a75ede463d9..74006e4b2d2484ea9623cd66e23c5823037edcaf 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * bpf-script-test-relocation.c
  * Test BPF loader checking relocation
index 79b54f8ddebf7ce9f5d59ef3255a1ddab3626c4a..c9e4cdc4c9c8f6aedce08a7030fd1e99990eba5a 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <errno.h>
 #include <stdio.h>
 #include <sys/epoll.h>
index 70d96acc6dcfd3c729eef6c670a4f28290c8afb2..594fdaca4f717c087fd2a67cf14690739a512d5a 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/compiler.h>
 #include <linux/kernel.h>
 #include "tests.h"
index 0f82ee9fd3f722b9b59c45b9b5152e0696661aca..efe3397824d2cd60a2b71201b437babf23747e0a 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include "util/mem-events.h"
 #include "util/symbol.h"
 #include "linux/perf_event.h"
index 9e9e4d37cc771868c183e22fbba4eaa6c095ba1b..d23ff1b68eba4ebae0ec47be993f8fd671e068c5 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/compiler.h>
 #include <linux/bitmap.h>
 #include "cpumap.h"
index e37787be672b19735040bfc175c1b2ad8d5c42ee..51e3f60baba0c08a885ce1dc78aea1c80cce6607 100644 (file)
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
 
 skip_if_no_perf_probe() {
index 46e076e3c53773ddb35965ad3834658ddaf722ac..5d1b63d3f3e1fbfba8f93165484b8c7edd757104 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh
 # Add vfs_getname probe to get syscall args filenames
-#
+
+# SPDX-License-Identifier: GPL-2.0
 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
 
 . $(dirname $0)/lib/probe.sh
index 61c9f8fc6fa1cc3d1bec05649525cd2540673b10..9b7632ff70aa370efa5d9ce9ba17bd95d50c4d72 100755 (executable)
@@ -7,6 +7,7 @@
 # This needs no debuginfo package, all is done using the libc ELF symtab
 # and the CFI info in the binaries.
 
+# SPDX-License-Identifier: GPL-2.0
 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
 
 . $(dirname $0)/lib/probe.sh
index 9b073e7fa88c86247046da9eef70be23f9ae31e6..54030c18bfc28d0b16aa96812b356cc0fd76999f 100755 (executable)
@@ -6,6 +6,7 @@
 # checks that that was captured by the vfs_getname probe in the generated
 # perf.data file, with the temp file name as the pathname argument.
 
+# SPDX-License-Identifier: GPL-2.0
 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
 
 . $(dirname $0)/lib/probe.sh
index 5dcba800109fda162a2e00ca7df3a0258bf0b645..899604d17b85f371d4366beea32ccaaf33437ade 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/sh
 # Zstd perf.data compression/decompression
 
+# SPDX-License-Identifier: GPL-2.0
+
 trace_file=$(mktemp /tmp/perf.data.XXX)
 perf_tool=perf
 
index 147efeb6b1959401f2e2b1ee12ee6dfad2da39c1..45d269b0157eb6bc42b1c16d2819d2a137db7175 100755 (executable)
@@ -7,6 +7,7 @@
 # that already handles "probe:vfs_getname" if present, and used in the
 # "open" syscall "filename" argument beautifier.
 
+# SPDX-License-Identifier: GPL-2.0
 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
 
 . $(dirname $0)/lib/probe.sh