Skip to content

Commit

Permalink
perf vendor events arm64: Add JSON metrics for imx8mp DDR Perf
Browse files Browse the repository at this point in the history
Add JSON metrics for imx8mp DDR Perf.

Signed-off-by: Joakim Zhang <[email protected]>
Reviewed-by: John Garry <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sascha Hauer <[email protected]> <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
  • Loading branch information
Joakim Zhang authored and acmel committed Feb 18, 2021
1 parent 3a35093 commit 37b9c7b
Show file tree
Hide file tree
Showing 2 changed files with 503 additions and 0 deletions.
37 changes: 37 additions & 0 deletions tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/ddrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[
{
"BriefDescription": "ddr cycles event",
"EventCode": "0x00",
"EventName": "imx8mp_ddr.cycles",
"Unit": "imx8_ddr",
"Compat": "i.MX8MP"
},
{
"BriefDescription": "ddr read-cycles event",
"EventCode": "0x2a",
"EventName": "imx8mp_ddr.read_cycles",
"Unit": "imx8_ddr",
"Compat": "i.MX8MP"
},
{
"BriefDescription": "ddr write-cycles event",
"EventCode": "0x2b",
"EventName": "imx8mp_ddr.write_cycles",
"Unit": "imx8_ddr",
"Compat": "i.MX8MP"
},
{
"BriefDescription": "ddr read event",
"EventCode": "0x35",
"EventName": "imx8mp_ddr.read",
"Unit": "imx8_ddr",
"Compat": "i.MX8MP"
},
{
"BriefDescription": "ddr write event",
"EventCode": "0x38",
"EventName": "imx8mp_ddr.write",
"Unit": "imx8_ddr",
"Compat": "i.MX8MP"
}
]
Loading

0 comments on commit 37b9c7b

Please sign in to comment.