perf list: Skip ABI PMUs when printing pmu values
authorIan Rogers <irogers@google.com>
Fri, 25 Jul 2025 18:51:53 +0000 (11:51 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Sat, 26 Jul 2025 23:31:43 +0000 (16:31 -0700)
commitb91a9abbf4734d411d304661fbb7e2878281eb51
tree9247307dae6cbce3366f415f8c10eafaaa050c21
parent55c09681cc67d175bd62b787c8b6eeafbe1b5851
perf list: Skip ABI PMUs when printing pmu values

Avoid printing tracepoint, legacy and software events when listing for
the pmu option. Add the PMU type to the print_event callbacks to ease
detection.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20250725185202.68671-8-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-list.c
tools/perf/util/pfm.c
tools/perf/util/pmus.c
tools/perf/util/print-events.c
tools/perf/util/print-events.h