linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/5] Add aliases and metrics for Arm CMN
@ 2023-07-28  6:17 Jing Zhang
  2023-07-28  6:17 ` [PATCH v5 1/5] perf metric: Event "Compat" value supports matching multiple identifiers Jing Zhang
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Jing Zhang @ 2023-07-28  6:17 UTC (permalink / raw)
  To: John Garry, Ian Rogers
  Cc: Will Deacon, Mark Rutland, Robin Murphy, Ilkka Koskinen,
	Namhyung Kim, Arnaldo Carvalho de Melo, linux-kernel,
	linux-arm-kernel, linux-perf-users, linux-doc, Zhuo Song,
	Jing Zhang, Shuai Xue

Changes since v4:
- Support "Compat" to match multiple identifiers for regular events
  aliases as suggested by John.
- Add self-test cases for "Compat" new feature and new event_filed
  as suggested by John.
- Link: https://lore.kernel.org/all/1690100513-61165-1-git-send-email-renyu.zj@linux.alibaba.com/

Jing Zhang (5):
  perf metric: Event "Compat" value supports matching multiple
    identifiers
  perf jevents: Support more event fields
  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                      |  55 +++++
 tools/perf/util/metricgroup.c                      |   2 +-
 tools/perf/util/pmu.c                              |  27 ++-
 tools/perf/util/pmu.h                              |   1 +
 8 files changed, 445 insertions(+), 10 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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2023-08-02  9:47 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-28  6:17 [PATCH v5 0/5] Add aliases and metrics for Arm CMN Jing Zhang
2023-07-28  6:17 ` [PATCH v5 1/5] perf metric: Event "Compat" value supports matching multiple identifiers Jing Zhang
2023-07-28  8:11   ` John Garry
2023-07-31 10:59     ` Jing Zhang
2023-07-31 13:16       ` John Garry
2023-08-02  9:38       ` Jing Zhang
2023-08-02  9:43         ` John Garry
2023-08-02  9:47           ` Jing Zhang
2023-07-28  6:17 ` [PATCH v5 2/5] perf jevents: Support more event fields Jing Zhang
2023-07-28  6:17 ` [PATCH v5 3/5] perf test: Add pmu-event test for "Compat" and new event_field Jing Zhang
2023-07-28  8:30   ` John Garry
2023-07-31 12:30     ` Jing Zhang
2023-07-31 13:12       ` John Garry
2023-08-01  9:19         ` Jing Zhang
2023-08-01 15:10           ` John Garry
2023-08-02  3:49             ` Jing Zhang
2023-07-28  6:17 ` [PATCH v5 4/5] perf jevents: Add support for Arm CMN PMU aliasing Jing Zhang
2023-07-28  8:17   ` John Garry
2023-07-31 12:31     ` Jing Zhang
2023-07-28  6:17 ` [PATCH v5 5/5] perf vendor events: Add JSON metrics for Arm CMN Jing Zhang
2023-07-28  8:18   ` John Garry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).