summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/data-convert-json.c
diff options
context:
space:
mode:
authorYicong Yang <yangyicong@hisilicon.com>2024-11-05 11:56:49 +0100
committerNamhyung Kim <namhyung@kernel.org>2024-11-09 07:42:57 +0100
commit35de42cdfb64af8357b8c531cc2dad28bde5c712 (patch)
treeb3d8aadf931364bbe757b163f117d383de623dca /tools/perf/util/data-convert-json.c
parentperf script python: Adjust objdump start/end per map pgoff parameter (diff)
downloadlinux-35de42cdfb64af8357b8c531cc2dad28bde5c712.tar.xz
linux-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 <namhyung@kernel.org> Link: https://lore.kernel.org/linux-perf-users/ZyF5_Hf1iL01kldE@google.com/ Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Cc: leo.yan@arm.com Cc: amadio@gentoo.org Cc: linuxarm@huawei.com Link: https://lore.kernel.org/r/20241105105649.45399-1-yangyicong@huawei.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/data-convert-json.c')
-rw-r--r--tools/perf/util/data-convert-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/data-convert-json.c b/tools/perf/util/data-convert-json.c
index 20bfb0884e9e..8304cd2d4a9c 100644
--- a/tools/perf/util/data-convert-json.c
+++ b/tools/perf/util/data-convert-json.c
@@ -28,7 +28,7 @@
#include "util/tool.h"
#ifdef HAVE_LIBTRACEEVENT
-#include <traceevent/event-parse.h>
+#include <event-parse.h>
#endif
struct convert_json {