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

perf tests: Add missing SPDX headers

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>

+19 -1
+2
tools/perf/tests/Build
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + 1 3 perf-y += builtin-test.o 2 4 perf-y += parse-events.o 3 5 perf-y += dso-data.o
+1
tools/perf/tests/bp_account.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Powerpc needs __SANE_USERSPACE_TYPES__ before <linux/types.h> to select 3 4 * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu.
+1
tools/perf/tests/bpf-script-example.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * bpf-script-example.c 3 4 * Test basic LLVM building
+1
tools/perf/tests/bpf-script-test-kbuild.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * bpf-script-test-kbuild.c 3 4 * Test include from kernel header
+1
tools/perf/tests/bpf-script-test-prologue.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * bpf-script-test-prologue.c 3 4 * Test BPF prologue
+1
tools/perf/tests/bpf-script-test-relocation.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * bpf-script-test-relocation.c 3 4 * Test BPF loader checking relocation
+1
tools/perf/tests/bpf.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #include <errno.h> 2 3 #include <stdio.h> 3 4 #include <sys/epoll.h>
+1
tools/perf/tests/map_groups.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #include <linux/compiler.h> 2 3 #include <linux/kernel.h> 3 4 #include "tests.h"
+1
tools/perf/tests/mem.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #include "util/mem-events.h" 2 3 #include "util/symbol.h" 3 4 #include "linux/perf_event.h"
+1
tools/perf/tests/mem2node.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #include <linux/compiler.h> 2 3 #include <linux/bitmap.h> 3 4 #include "cpumap.h"
+1
tools/perf/tests/shell/lib/probe.sh
··· 1 + # SPDX-License-Identifier: GPL-2.0 1 2 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017 2 3 3 4 skip_if_no_perf_probe() {
+2 -1
tools/perf/tests/shell/probe_vfs_getname.sh
··· 1 1 #!/bin/sh 2 2 # Add vfs_getname probe to get syscall args filenames 3 - # 3 + 4 + # SPDX-License-Identifier: GPL-2.0 4 5 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017 5 6 6 7 . $(dirname $0)/lib/probe.sh
+1
tools/perf/tests/shell/record+probe_libc_inet_pton.sh
··· 7 7 # This needs no debuginfo package, all is done using the libc ELF symtab 8 8 # and the CFI info in the binaries. 9 9 10 + # SPDX-License-Identifier: GPL-2.0 10 11 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017 11 12 12 13 . $(dirname $0)/lib/probe.sh
+1
tools/perf/tests/shell/record+script_probe_vfs_getname.sh
··· 6 6 # checks that that was captured by the vfs_getname probe in the generated 7 7 # perf.data file, with the temp file name as the pathname argument. 8 8 9 + # SPDX-License-Identifier: GPL-2.0 9 10 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017 10 11 11 12 . $(dirname $0)/lib/probe.sh
+2
tools/perf/tests/shell/record+zstd_comp_decomp.sh
··· 1 1 #!/bin/sh 2 2 # Zstd perf.data compression/decompression 3 3 4 + # SPDX-License-Identifier: GPL-2.0 5 + 4 6 trace_file=$(mktemp /tmp/perf.data.XXX) 5 7 perf_tool=perf 6 8
+1
tools/perf/tests/shell/trace+probe_vfs_getname.sh
··· 7 7 # that already handles "probe:vfs_getname" if present, and used in the 8 8 # "open" syscall "filename" argument beautifier. 9 9 10 + # SPDX-License-Identifier: GPL-2.0 10 11 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017 11 12 12 13 . $(dirname $0)/lib/probe.sh