summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/bpf-script-example.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-11-08 08:22:37 +0100
committerIngo Molnar <mingo@kernel.org>2015-11-08 08:22:37 +0100
commitbad9bc2d466445b0398b78a452b7706a05ebc182 (patch)
tree86943a9ccb8cd7c44c741f562ebec257c7d83b6a /tools/perf/tests/bpf-script-example.c
parent66ef3493d4bb387f5a83915e33dc893102fd1b43 (diff)
parent345c99a303e1d97b407bf99190314a878d59ca92 (diff)
downloadop-kernel-dev-bad9bc2d466445b0398b78a452b7706a05ebc182.zip
op-kernel-dev-bad9bc2d466445b0398b78a452b7706a05ebc182.tar.gz
Merge tag 'perf-core-for-mingo-2' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo: Fixes: - libbpf error reporting improvements, using a strerror interface to more precisely tell the user about problems with the provided scriptlet, be it in C or as a ready made object file (Wang Nan) - Do not be case sensitive when searching for matching 'perf test' entries (Arnaldo Carvalho de Melo) - Inform the user about objdump failures in 'perf annotate' (Andi Kleen) Infrastructure changes: - Improve the LLVM 'perf test' entry, introduce a new ones for BPF and kbuild tests to check the environment used by clang to compile .c scriptlets (Wang Nan) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
-rw-r--r--tools/perf/tests/bpf-script-example.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/tests/bpf-script-example.c b/tools/perf/tests/bpf-script-example.c
index 410a70b..0ec9c2c 100644
--- a/tools/perf/tests/bpf-script-example.c
+++ b/tools/perf/tests/bpf-script-example.c
@@ -1,3 +1,7 @@
+/*
+ * bpf-script-example.c
+ * Test basic LLVM building
+ */
#ifndef LINUX_VERSION_CODE
# error Need LINUX_VERSION_CODE
# error Example: for 4.2 kernel, put 'clang-opt="-DLINUX_VERSION_CODE=0x40200" into llvm section of ~/.perfconfig'
OpenPOWER on IntegriCloud