mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
perf vendor events arm64: Add i.MX91 DDR Performance Monitor metrics
Add JSON metrics for i.MX91 DDR Performance Monitor. Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: festevam@gmail.com Cc: conor+dt@kernel.org Cc: krzk+dt@kernel.org Cc: robh@kernel.org Cc: shawnguo@kernel.org Cc: will@kernel.org Cc: james.clark@linaro.org Cc: mike.leach@linaro.org Cc: leo.yan@linux.dev Cc: linux-arm-kernel@lists.infradead.org Cc: imx@lists.linux.dev Cc: Frank.li@nxp.com Cc: john.g.garry@oracle.com Cc: kernel@pengutronix.de Cc: s.hauer@pengutronix.de Cc: devicetree@vger.kernel.org Link: https://lore.kernel.org/r/20240924061251.3387850-3-xu.yang_2@nxp.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
This commit is contained in:
parent
7449a4d674
commit
e3b2949e3f
@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"BriefDescription": "ddr cycles event",
|
||||
"EventCode": "0x00",
|
||||
"EventName": "imx91_ddr.cycles",
|
||||
"Unit": "imx9_ddr",
|
||||
"Compat": "imx91"
|
||||
}
|
||||
]
|
@ -0,0 +1,26 @@
|
||||
[
|
||||
{
|
||||
"BriefDescription": "bandwidth usage for lpddr4 evk board",
|
||||
"MetricName": "imx91_bandwidth_usage.lpddr4",
|
||||
"MetricExpr": "(((( imx9_ddr0@ddrc_pm_0@ ) * 2 * 8 ) + (( imx9_ddr0@ddrc_pm_3@ + imx9_ddr0@ddrc_pm_5@ + imx9_ddr0@ddrc_pm_7@ + imx9_ddr0@ddrc_pm_9@ - imx9_ddr0@ddrc_pm_2@ - imx9_ddr0@ddrc_pm_4@ - imx9_ddr0@ddrc_pm_6@ - imx9_ddr0@ddrc_pm_8@ ) * 32 )) / duration_time) / (2400 * 1000000 * 2)",
|
||||
"ScaleUnit": "1e2%",
|
||||
"Unit": "imx9_ddr",
|
||||
"Compat": "imx91"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "bytes all masters read from ddr",
|
||||
"MetricName": "imx91_ddr_read.all",
|
||||
"MetricExpr": "( imx9_ddr0@ddrc_pm_0@ ) * 2 * 8",
|
||||
"ScaleUnit": "9.765625e-4KB",
|
||||
"Unit": "imx9_ddr",
|
||||
"Compat": "imx91"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "bytes all masters write to ddr",
|
||||
"MetricName": "imx91_ddr_write.all",
|
||||
"MetricExpr": "( imx9_ddr0@ddrc_pm_3@ + imx9_ddr0@ddrc_pm_5@ + imx9_ddr0@ddrc_pm_7@ + imx9_ddr0@ddrc_pm_9@ - imx9_ddr0@ddrc_pm_2@ - imx9_ddr0@ddrc_pm_4@ - imx9_ddr0@ddrc_pm_6@ - imx9_ddr0@ddrc_pm_8@ ) * 32",
|
||||
"ScaleUnit": "9.765625e-4KB",
|
||||
"Unit": "imx9_ddr",
|
||||
"Compat": "imx91"
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user