Re: [PATCH RFC v4 13/13] perf vendor events: Add JSON metrics for imx8mm DDR Perf

From: John Garry
Date: Mon Oct 12 2020 - 06:37:52 EST


On 12/10/2020 11:03, Joakim Zhang wrote:
--- /dev/null
+++ b/tools/perf/pmu-events/arch/arm64/freescale/imx8mm/sys/ddrc.json
@@ -0,0 +1,39 @@
+[
+ {
+ "BriefDescription": "ddr cycles event",
+ "EventCode": "0x00",
+ "EventName": "imx8_ddr.cycles",
Could you help change to imx8mm_ddr.cycles? Thanks a lot!

Can do.

Note that I want to improve perf list in future such that alias "imx8_ddr.cycles" removes kernel PMU events which this alias is matching. The motivation is that perf list can be swamped by kernel uncore PMU events listing.


+ "Unit": "imx8_ddr",
+ "Compat": "i.MX8MM"