diff options
| author | Yicong Yang <[email protected]> | 2024-11-05 10:56:49 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-11-09 06:42:57 +0000 |
| commit | 35de42cdfb64af8357b8c531cc2dad28bde5c712 (patch) | |
| tree | b3d8aadf931364bbe757b163f117d383de623dca /tools/perf/util/python.c | |
| parent | perf script python: Adjust objdump start/end per map pgoff parameter (diff) | |
| download | kernel-35de42cdfb64af8357b8c531cc2dad28bde5c712.tar.gz kernel-35de42cdfb64af8357b8c531cc2dad28bde5c712.zip | |
perf build: Include libtraceevent headers directly indicated by pkg-config
Currently the libtraceevent's found by pkg-config, which give the
include path as:
[root@localhost tmp]# pkg-config --cflags libtraceevent
-I/usr/local/include/traceevent
So we should include the libtraceevent headers directly without
"traceevent/" prefix. Update all the users.
Fixes: 0f0e1f445690 ("perf build: Use pkg-config for feature check for libtrace{event,fs}")
Suggested-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/linux-perf-users/[email protected]/
Signed-off-by: Yicong Yang <[email protected]>
Cc: [email protected]
Cc: [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/util/python.c')
| -rw-r--r-- | tools/perf/util/python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index ee3d43a7ba45..2096cdbaa53b 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c @@ -6,7 +6,7 @@ #include <linux/err.h> #include <perf/cpumap.h> #ifdef HAVE_LIBTRACEEVENT -#include <traceevent/event-parse.h> +#include <event-parse.h> #endif #include <perf/mmap.h> #include "evlist.h" |
