diff options
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
-rw-r--r-- | tools/perf/tests/bpf-script-example.c | 4 |
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 410a70b93b93..0ec9c2c03164 100644 --- a/tools/perf/tests/bpf-script-example.c +++ b/tools/perf/tests/bpf-script-example.c | |||
@@ -1,3 +1,7 @@ | |||
1 | /* | ||
2 | * bpf-script-example.c | ||
3 | * Test basic LLVM building | ||
4 | */ | ||
1 | #ifndef LINUX_VERSION_CODE | 5 | #ifndef LINUX_VERSION_CODE |
2 | # error Need LINUX_VERSION_CODE | 6 | # error Need LINUX_VERSION_CODE |
3 | # error Example: for 4.2 kernel, put 'clang-opt="-DLINUX_VERSION_CODE=0x40200" into llvm section of ~/.perfconfig' | 7 | # error Example: for 4.2 kernel, put 'clang-opt="-DLINUX_VERSION_CODE=0x40200" into llvm section of ~/.perfconfig' |