[PATCH v2 0/3] perf pmu: Dynamically allocate tool PMU

From: James Clark
Date: Wed Feb 26 2025 - 05:41:34 EST


A few minor fixes that I came across when poking around with the Perf
list behavior on hybrid Arm.

Changes since v1:
* Rename perf_pmus__new_tool_pmu() -> tool_pmu__new()

James Clark (3):
perf pmu: Dynamically allocate tool PMU
perf pmu: Don't double count common sysfs and json events
perf list: Document -v option deduplication feature

tools/perf/Documentation/perf-list.txt | 2 +-
tools/perf/builtin-list.c | 2 +-
tools/perf/util/pmu.c | 7 ++++---
tools/perf/util/pmu.h | 5 +++++
tools/perf/util/pmus.c | 2 +-
tools/perf/util/tool_pmu.c | 23 +++++++++++------------
tools/perf/util/tool_pmu.h | 2 +-
7 files changed, 24 insertions(+), 19 deletions(-)

--
2.34.1