[PATCH v6 0/7] Add aliases and metrics for Arm CMN
Jing Zhang
renyu.zj at linux.alibaba.com
Mon Aug 7 00:51:18 PDT 2023
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
More information about the linux-arm-kernel
mailing list