diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-06-18 20:59:16 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-06-18 21:44:24 +0000 |
| commit | 3469fa84c1631face938efc42b3f488a2c2504e0 (patch) | |
| tree | 38d4309390ad01026ff59c2c9bd6441a9bde1363 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | perf build: Handle slang being in /usr/include and in /usr/include/slang/ (diff) | |
| download | kernel-3469fa84c1631face938efc42b3f488a2c2504e0.tar.gz kernel-3469fa84c1631face938efc42b3f488a2c2504e0.zip | |
tools build: Fix the zstd test in the test-all.c common case feature test
We were renanimg 'main' to 'main_zstd' but then using 'main_libzstd();'
in the main() for test-all.c, causing this:
$ cat /tmp/build/perf/feature/test-all.make.output
test-all.c: In function ‘main’:
test-all.c:236:2: error: implicit declaration of function ‘main_test_libzstd’; did you mean ‘main_test_zstd’? [-Werror=implicit-function-declaration]
main_test_libzstd();
^~~~~~~~~~~~~~~~~
main_test_zstd
cc1: all warnings being treated as errors
$
I.e. what was supposed to be the fast path feature test was _always_
failing, duh, fix it.
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Alexey Budankov <[email protected]>
Fixes: 3b1c5d965971 ("tools build: Implement libzstd feature check, LIBZSTD_DIR and NO_LIBZSTD defines")
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
