]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf header: Properly warn/print when libtraceevent/libbpf support is missing
authorIan Rogers <irogers@google.com>
Wed, 1 Apr 2026 16:13:19 +0000 (09:13 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 3 Apr 2026 02:35:16 +0000 (19:35 -0700)
commit598de368375ed4ffaa23086524ea7dbb5b7fd256
tree7699d689a8a9ab7e61c6499647ba22f77645f10a
parent8cc518735beb879c51df712a5ce5893c02f81b12
perf header: Properly warn/print when libtraceevent/libbpf support is missing

By removing the features from feat_ops with ifdefs the previous logic
would print "# (null)" when perf processed a feature that lacked
builtin support. Remove the ifdefs from feat_ops and in the relevant
functions print errors/messages about the lack of support.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/header.c