diff options
| author | Yicong Yang <[email protected]> | 2024-10-24 13:32:36 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-11-05 06:11:32 +0000 |
| commit | d5a0a4ab4af4c27de097b78d6f1b7e7f7e31908f (patch) | |
| tree | 986ab53680037d2121af35c2ff536688f9e10523 /tools/perf/scripts/python/sctop.py | |
| parent | perf test: Remove cpu-list BPF cgroup counter test (diff) | |
| download | kernel-d5a0a4ab4af4c27de097b78d6f1b7e7f7e31908f.tar.gz kernel-d5a0a4ab4af4c27de097b78d6f1b7e7f7e31908f.zip | |
perf build: Add missing cflags when building with custom libtraceevent
When building with custom libtraceevent, below errors occur:
$ make -C tools/perf NO_LIBPYTHON=1 PKG_CONFIG_PATH=<custom libtraceevent>
In file included from util/session.h:5,
from builtin-buildid-list.c:17:
util/trace-event.h:153:10: fatal error: traceevent/event-parse.h: No such file or directory
153 | #include <traceevent/event-parse.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
<snip similar errors of missing headers>
This is because the include path is missed in the cflags. Add it.
Fixes: 0f0e1f445690 ("perf build: Use pkg-config for feature check for libtrace{event,fs}")
Signed-off-by: Yicong Yang <[email protected]>
Reviewed-by: Leo Yan <[email protected]>
Reviewed-by: Guilherme Amadio <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
