Thread (11 messages) 11 messages, 2 authors, 2021-01-21

RE: [PATCH V1 3/4] perf vendor events: Add JSON metrics for imx8mq DDR Perf

From: Joakim Zhang <hidden>
Date: 2021-01-19 11:02:27
Also in: linux-perf-users

-----Original Message-----
From: John Garry <redacted>
Sent: 2021年1月19日 18:40
To: Joakim Zhang <redacted>; acme@kernel.org;
jolsa@redhat.com
Cc: will@kernel.org; linux-perf-users@vger.kernel.org; dl-linux-imx
[off-list ref]; mark.rutland@arm.com;
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH V1 3/4] perf vendor events: Add JSON metrics for imx8mq
DDR Perf

On 19/01/2021 02:56, Joakim Zhang wrote:
quoted
index 000000000000..c3e9f89a4a4d
--- /dev/null
+++ b/tools/perf/pmu-events/arch/arm64/freescale/imx8mq/sys/metrics.js
+++ on
@@ -0,0 +1,26 @@
+[
+   {
+	    "BriefDescription": "bandwidth usage for lpddr4 evk board",
Why mention the evk board specifically? Is this metric only specific to that
board, and not all i.MX8MQ platforms?
Yes, John, we have lpddr4 evk board and ddr4 evk borad......

John, change to your new framework, I found it can't support all features which is supported in 5.10 kernel.

Best Regards,
Joakim Zhang
Thanks,
John
quoted
+	    "MetricName": "imx8mq_bandwidth_usage.lpddr4",
+	    "MetricExpr": "(( imx8_ddr0@read\\-cycles@ +
imx8_ddr0@write\\-cycles@ ) * 4 * 4 / duration_time) / (800 * 1000000 * 4 *
4)",
quoted
+	    "ScaleUnit": "1e2%",
+	    "Unit": "imx8_ddr",
+	    "Compat": "i.MX8MQ"
+   },
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help