Commit 35de42cd authored by Yicong Yang's avatar Yicong Yang Committed by Namhyung Kim
Browse files

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: 0f0e1f44 ("perf build: Use pkg-config for feature check for libtrace{event,fs}")
Suggested-by: default avatarNamhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/linux-perf-users/ZyF5_Hf1iL01kldE@google.com/


Signed-off-by: default avatarYicong 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: default avatarNamhyung Kim <namhyung@kernel.org>
parent e8328bf3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment