[PATCH v6 0/7] Add aliases and metrics for Arm CMN

From: Jing Zhang
Date: Mon Aug 07 2023 - 03:52:16 EST


Changes since v5:
- Split the first patch out into 1st pmu.c change and 2nd metricgroup.c
change.
- Change order to check alias and then identifier.
- Fix matching_pmu.
- Add event documentation links.

Jing Zhang (7):
perf pmu: "Compat" supports matching multiple identifiers
perf metric: "Compat" supports matching multiple identifiers
perf jevents: Support more event fields
perf test: Fix matching_pmu
perf test: Add pmu-event test for "Compat" and new event_field.
perf jevents: Add support for Arm CMN PMU aliasing
perf vendor events: Add JSON metrics for Arm CMN

.../pmu-events/arch/arm64/arm/cmn/sys/cmn.json | 266 +++++++++++++++++++++
.../pmu-events/arch/arm64/arm/cmn/sys/metric.json | 74 ++++++
.../pmu-events/arch/test/test_soc/sys/uncore.json | 8 +
tools/perf/pmu-events/jevents.py | 22 +-
tools/perf/tests/pmu-events.c | 64 ++++-
tools/perf/util/metricgroup.c | 2 +-
tools/perf/util/pmu.c | 33 ++-
tools/perf/util/pmu.h | 1 +
8 files changed, 457 insertions(+), 13 deletions(-)
create mode 100644 tools/perf/pmu-events/arch/arm64/arm/cmn/sys/cmn.json
create mode 100644 tools/perf/pmu-events/arch/arm64/arm/cmn/sys/metric.json

--
1.8.3.1