]> Gentwo Git Trees - linux/.git/commit
perf bpf-event: Use libbpf version rather than feature check
authorIan Rogers <irogers@google.com>
Fri, 3 Oct 2025 01:23:48 +0000 (18:23 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Oct 2025 19:49:51 +0000 (16:49 -0300)
commit2bd597170f46610792c541814ac36d14618de459
tree041295dfcb96718090b76b3fc3b0d2ec723d2425
parenta90777bb03fc7b9bc5d668ed136d86c3971f48bf
perf bpf-event: Use libbpf version rather than feature check

The feature check guarded the -DHAVE_LIBBPF_STRINGS_SUPPORT is
unnecessary as it is sufficient and easier to use the
LIBBPF_CURRENT_VERSION_GEQ macro.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Blake Jones <blakejones@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config
tools/perf/builtin-check.c
tools/perf/util/bpf-event.c
tools/perf/util/bpf-utils.h