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.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 5e2156d8
# SPDX-License-Identifier: GPL-2.0
perf-y += builtin-test.o perf-y += builtin-test.o
perf-y += parse-events.o perf-y += parse-events.o
perf-y += dso-data.o perf-y += dso-data.o
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Powerpc needs __SANE_USERSPACE_TYPES__ before <linux/types.h> to select * Powerpc needs __SANE_USERSPACE_TYPES__ before <linux/types.h> to select
* 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu. * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu.
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* bpf-script-example.c * bpf-script-example.c
* Test basic LLVM building * Test basic LLVM building
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* bpf-script-test-kbuild.c * bpf-script-test-kbuild.c
* Test include from kernel header * Test include from kernel header
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* bpf-script-test-prologue.c * bpf-script-test-prologue.c
* Test BPF prologue * Test BPF prologue
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* bpf-script-test-relocation.c * bpf-script-test-relocation.c
* Test BPF loader checking relocation * Test BPF loader checking relocation
......
// SPDX-License-Identifier: GPL-2.0
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <sys/epoll.h> #include <sys/epoll.h>
......
// SPDX-License-Identifier: GPL-2.0
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include "tests.h" #include "tests.h"
......
// SPDX-License-Identifier: GPL-2.0
#include "util/mem-events.h" #include "util/mem-events.h"
#include "util/symbol.h" #include "util/symbol.h"
#include "linux/perf_event.h" #include "linux/perf_event.h"
......
// SPDX-License-Identifier: GPL-2.0
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/bitmap.h> #include <linux/bitmap.h>
#include "cpumap.h" #include "cpumap.h"
......
# SPDX-License-Identifier: GPL-2.0
# Arnaldo Carvalho de Melo <acme@kernel.org>, 2017 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
skip_if_no_perf_probe() { skip_if_no_perf_probe() {
......
#!/bin/sh #!/bin/sh
# Add vfs_getname probe to get syscall args filenames # Add vfs_getname probe to get syscall args filenames
#
# SPDX-License-Identifier: GPL-2.0
# Arnaldo Carvalho de Melo <acme@kernel.org>, 2017 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
. $(dirname $0)/lib/probe.sh . $(dirname $0)/lib/probe.sh
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
# This needs no debuginfo package, all is done using the libc ELF symtab # This needs no debuginfo package, all is done using the libc ELF symtab
# and the CFI info in the binaries. # and the CFI info in the binaries.
# SPDX-License-Identifier: GPL-2.0
# Arnaldo Carvalho de Melo <acme@kernel.org>, 2017 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
. $(dirname $0)/lib/probe.sh . $(dirname $0)/lib/probe.sh
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
# checks that that was captured by the vfs_getname probe in the generated # 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. # 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 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
. $(dirname $0)/lib/probe.sh . $(dirname $0)/lib/probe.sh
......
#!/bin/sh #!/bin/sh
# Zstd perf.data compression/decompression # Zstd perf.data compression/decompression
# SPDX-License-Identifier: GPL-2.0
trace_file=$(mktemp /tmp/perf.data.XXX) trace_file=$(mktemp /tmp/perf.data.XXX)
perf_tool=perf perf_tool=perf
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
# that already handles "probe:vfs_getname" if present, and used in the # that already handles "probe:vfs_getname" if present, and used in the
# "open" syscall "filename" argument beautifier. # "open" syscall "filename" argument beautifier.
# SPDX-License-Identifier: GPL-2.0
# Arnaldo Carvalho de Melo <acme@kernel.org>, 2017 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
. $(dirname $0)/lib/probe.sh . $(dirname $0)/lib/probe.sh
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment