diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2024-11-05 18:56:49 +0800 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-11-08 22:42:57 -0800 |
commit | 35de42cdfb64af8357b8c531cc2dad28bde5c712 (patch) | |
tree | b3d8aadf931364bbe757b163f117d383de623dca /tools/build | |
parent | e8328bf3cd135b5f443bed77f3791ac1633ae01e (diff) | |
download | linux-stable-35de42cdfb64af8357b8c531cc2dad28bde5c712.tar.gz linux-stable-35de42cdfb64af8357b8c531cc2dad28bde5c712.tar.bz2 linux-stable-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/build')
-rw-r--r-- | tools/build/feature/test-libtraceevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/feature/test-libtraceevent.c b/tools/build/feature/test-libtraceevent.c index 416b11ffd4b4..804ad80dbbd9 100644 --- a/tools/build/feature/test-libtraceevent.c +++ b/tools/build/feature/test-libtraceevent.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include <traceevent/trace-seq.h> +#include <trace-seq.h> int main(void) { |