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: John Garry <hidden>
Date: 2021-01-19 10:42:54
Also in: linux-arm-kernel

On 19/01/2021 02:56, Joakim Zhang wrote:
quoted hunk ↗ jump to hunk
index 000000000000..c3e9f89a4a4d
--- /dev/null
+++ b/tools/perf/pmu-events/arch/arm64/freescale/imx8mq/sys/metrics.json
@@ -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?

Thanks,
John
+	    "MetricName": "imx8mq_bandwidth_usage.lpddr4",
+	    "MetricExpr": "(( imx8_ddr0@read\\-cycles@ + imx8_ddr0@write\\-cycles@ ) * 4 * 4 / duration_time) / (800 * 1000000 * 4 * 4)",
+	    "ScaleUnit": "1e2%",
+	    "Unit": "imx8_ddr",
+	    "Compat": "i.MX8MQ"
+   },
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help