Skip to content

Commit 5875cf4

Browse files
committed
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>
1 parent 5e2156d commit 5875cf4

16 files changed

Lines changed: 19 additions & 1 deletion

‎tools/perf/tests/Build‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
13
perf-y += builtin-test.o
24
perf-y += parse-events.o
35
perf-y += dso-data.o

‎tools/perf/tests/bp_account.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Powerpc needs __SANE_USERSPACE_TYPES__ before <linux/types.h> to select
34
* 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu.

‎tools/perf/tests/bpf-script-example.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* bpf-script-example.c
34
* Test basic LLVM building

‎tools/perf/tests/bpf-script-test-kbuild.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* bpf-script-test-kbuild.c
34
* Test include from kernel header

‎tools/perf/tests/bpf-script-test-prologue.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* bpf-script-test-prologue.c
34
* Test BPF prologue

‎tools/perf/tests/bpf-script-test-relocation.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* bpf-script-test-relocation.c
34
* Test BPF loader checking relocation

‎tools/perf/tests/bpf.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
#include <errno.h>
23
#include <stdio.h>
34
#include <sys/epoll.h>

‎tools/perf/tests/map_groups.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
#include <linux/compiler.h>
23
#include <linux/kernel.h>
34
#include "tests.h"

‎tools/perf/tests/mem.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
#include "util/mem-events.h"
23
#include "util/symbol.h"
34
#include "linux/perf_event.h"

‎tools/perf/tests/mem2node.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
#include <linux/compiler.h>
23
#include <linux/bitmap.h>
34
#include "cpumap.h"

0 commit comments

Comments
 (0)