• Arnaldo Carvalho de Melo's avatar
    perf bpf: Rename perf_include_dir to libbpf_include_dir · b018899e
    Arnaldo Carvalho de Melo authored
    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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    b018899e
llvm-utils.c 14.5 KB