OSDN Git Service

perf bpf: Rename perf_include_dir to libbpf_include_dir
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Nov 2022 14:45:36 +0000 (11:45 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Nov 2022 14:45:36 +0000 (11:45 -0300)
commitb018899e620b8ee4529f43bd02e9e8e43043e33e
tree2eb7bbff5bbd7c1a8197e77daa6bc7bbecb976dc
parent3cd65616f607cd3769647e2e0490e4048c0f289e
perf bpf: Rename perf_include_dir to libbpf_include_dir

As this is where we expect to find bpf/bpf_helpers.h, etc.

This needs more work to make it follow LIBBPF_DYNAMIC=1 usage, i.e. when
not using the system libbpf it should use the headers in the in-kernel
sources libbpf in tools/lib/bpf.

We need to do that anyway to avoid this mixup system libbpf and
in-kernel files, so we'll get this sorted out that way.

And this also may become moot as we move to using BPF skels for this
feature.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config
tools/perf/util/Build
tools/perf/util/llvm-utils.c