Skip to content

Commit

Permalink
perf vendor events: Update metric events for power10 platform
Browse files Browse the repository at this point in the history
Update JSON/events for power10 platform with additional metrics.

Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Cc: Disha Goel <disgoel@linux.ibm.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: linuxppc-dev@lists.ozlabs.org
Link: https://lore.kernel.org/r/20230814112803.1508296-7-kjain@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Kajol Jain authored and Arnaldo Carvalho de Melo committed Aug 16, 2023
1 parent edd65d2 commit 5ceb8b5
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions tools/perf/pmu-events/arch/powerpc/power10/metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
"MetricGroup": "CPI",
"MetricName": "DISPATCH_STALL_FLUSH_CPI"
},
{
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled because Fetch was being held, so there was nothing in the pipeline for this thread",
"MetricExpr": "PM_DISP_STALL_FETCH / PM_RUN_INST_CMPL",
"MetricGroup": "CPI",
"MetricName": "DISPATCH_STALL_FETCH_CPI"
},
{
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled because the MMU was handling a translation miss",
"MetricExpr": "PM_DISP_STALL_TRANSLATION / PM_RUN_INST_CMPL",
Expand Down Expand Up @@ -394,6 +400,13 @@
"MetricName": "L1_LD_MISS_RATE",
"ScaleUnit": "1%"
},
{
"BriefDescription": "Percentage of completed instructions that were stores that missed the L1",
"MetricExpr": "PM_ST_MISS_L1 * 100 / PM_RUN_INST_CMPL",
"MetricGroup": "Others",
"MetricName": "L1_ST_MISS_RATE",
"ScaleUnit": "1%"
},
{
"BriefDescription": "Percentage of completed instructions when the DPTEG required for the load/store instruction in execution was missing from the TLB",
"MetricExpr": "PM_DTLB_MISS / PM_RUN_INST_CMPL * 100",
Expand Down Expand Up @@ -467,6 +480,13 @@
"MetricName": "DL1_RELOAD_FROM_L3_MISS_RATE",
"ScaleUnit": "1%"
},
{
"BriefDescription": "Percentage of ITLB misses per completed run instruction",
"MetricExpr": "PM_ITLB_MISS / PM_RUN_INST_CMPL * 100",
"MetricGroup": "General",
"MetricName": "ITLB_MISS_RATE",
"ScaleUnit": "1%"
},
{
"BriefDescription": "Percentage of DERAT misses with 4k page size per completed instruction",
"MetricExpr": "PM_DERAT_MISS_4K / PM_RUN_INST_CMPL * 100",
Expand Down Expand Up @@ -622,6 +642,13 @@
"MetricName": "DERAT_16M_MISS_RATE",
"ScaleUnit": "1%"
},
{
"BriefDescription": "Percentage of DERAT misses with 1G page size per completed run instruction",
"MetricExpr": "PM_DERAT_MISS_1G * 100 / PM_RUN_INST_CMPL",
"MetricGroup": "Translation",
"MetricName": "DERAT_1G_MISS_RATE",
"ScaleUnit": "1%"
},
{
"BriefDescription": "DERAT miss ratio for 4K page size",
"MetricExpr": "PM_DERAT_MISS_4K / PM_DERAT_MISS",
Expand All @@ -640,6 +667,12 @@
"MetricGroup": "Translation",
"MetricName": "DERAT_16M_MISS_RATIO"
},
{
"BriefDescription": "DERAT miss ratio for 1G page size",
"MetricExpr": "PM_DERAT_MISS_1G / PM_DERAT_MISS",
"MetricGroup": "Translation",
"MetricName": "DERAT_1G_MISS_RATIO"
},
{
"BriefDescription": "DERAT miss ratio for 64K page size",
"MetricExpr": "PM_DERAT_MISS_64K / PM_DERAT_MISS",
Expand Down

0 comments on commit 5ceb8b5

Please sign in to comment.