Commit edd65d2b authored by Kajol Jain's avatar Kajol Jain Committed by Arnaldo Carvalho de Melo

perf vendor events: Update metric event names for power10 platform

Update metric event name for some of the JSON/metric events for
power10 platform.

Fixes: 3ca3af7d ("perf vendor events power10: Add metric events JSON file for power10 platform")
Signed-off-by: default avatarKajol 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: Kajol Jain <kjain@linux.ibm.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-6-kjain@linux.ibm.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 426c804b
...@@ -16,133 +16,133 @@ ...@@ -16,133 +16,133 @@
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled for any reason", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled for any reason",
"MetricExpr": "PM_DISP_STALL_CYC / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_CYC / PM_RUN_INST_CMPL",
"MetricGroup": "CPI;CPI_STALL_RATIO", "MetricGroup": "CPI;CPI_STALL_RATIO",
"MetricName": "DISPATCHED_CPI" "MetricName": "DISPATCH_STALL_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled because there was a flush", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled because there was a flush",
"MetricExpr": "PM_DISP_STALL_FLUSH / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_FLUSH / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_FLUSH_CPI" "MetricName": "DISPATCH_STALL_FLUSH_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled because the MMU was handling a translation miss", "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", "MetricExpr": "PM_DISP_STALL_TRANSLATION / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_TRANSLATION_CPI" "MetricName": "DISPATCH_STALL_TRANSLATION_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled waiting to resolve an instruction ERAT miss", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled waiting to resolve an instruction ERAT miss",
"MetricExpr": "PM_DISP_STALL_IERAT_ONLY_MISS / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_IERAT_ONLY_MISS / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_IERAT_ONLY_MISS_CPI" "MetricName": "DISPATCH_STALL_IERAT_ONLY_MISS_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled waiting to resolve an instruction TLB miss", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled waiting to resolve an instruction TLB miss",
"MetricExpr": "PM_DISP_STALL_ITLB_MISS / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_ITLB_MISS / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_ITLB_MISS_CPI" "MetricName": "DISPATCH_STALL_ITLB_MISS_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled due to an icache miss", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled due to an icache miss",
"MetricExpr": "PM_DISP_STALL_IC_MISS / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_IC_MISS / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_IC_MISS_CPI" "MetricName": "DISPATCH_STALL_IC_MISS_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled while the instruction was fetched from the local L2", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled while the instruction was fetched from the local L2",
"MetricExpr": "PM_DISP_STALL_IC_L2 / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_IC_L2 / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_IC_L2_CPI" "MetricName": "DISPATCH_STALL_IC_L2_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled while the instruction was fetched from the local L3", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled while the instruction was fetched from the local L3",
"MetricExpr": "PM_DISP_STALL_IC_L3 / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_IC_L3 / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_IC_L3_CPI" "MetricName": "DISPATCH_STALL_IC_L3_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled while the instruction was fetched from any source beyond the local L3", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled while the instruction was fetched from any source beyond the local L3",
"MetricExpr": "PM_DISP_STALL_IC_L3MISS / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_IC_L3MISS / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_IC_L3MISS_CPI" "MetricName": "DISPATCH_STALL_IC_L3MISS_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled due to an icache miss after a branch mispredict", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled due to an icache miss after a branch mispredict",
"MetricExpr": "PM_DISP_STALL_BR_MPRED_ICMISS / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_BR_MPRED_ICMISS / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_BR_MPRED_ICMISS_CPI" "MetricName": "DISPATCH_STALL_BR_MPRED_ICMISS_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled while instruction was fetched from the local L2 after suffering a branch mispredict", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled while instruction was fetched from the local L2 after suffering a branch mispredict",
"MetricExpr": "PM_DISP_STALL_BR_MPRED_IC_L2 / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_BR_MPRED_IC_L2 / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_BR_MPRED_IC_L2_CPI" "MetricName": "DISPATCH_STALL_BR_MPRED_IC_L2_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled while instruction was fetched from the local L3 after suffering a branch mispredict", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled while instruction was fetched from the local L3 after suffering a branch mispredict",
"MetricExpr": "PM_DISP_STALL_BR_MPRED_IC_L3 / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_BR_MPRED_IC_L3 / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_BR_MPRED_IC_L3_CPI" "MetricName": "DISPATCH_STALL_BR_MPRED_IC_L3_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled while instruction was fetched from any source beyond the local L3 after suffering a branch mispredict", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled while instruction was fetched from any source beyond the local L3 after suffering a branch mispredict",
"MetricExpr": "PM_DISP_STALL_BR_MPRED_IC_L3MISS / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_BR_MPRED_IC_L3MISS / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_BR_MPRED_IC_L3MISS_CPI" "MetricName": "DISPATCH_STALL_BR_MPRED_IC_L3MISS_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when dispatch was stalled due to a branch mispredict", "BriefDescription": "Average cycles per completed instruction when dispatch was stalled due to a branch mispredict",
"MetricExpr": "PM_DISP_STALL_BR_MPRED / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_BR_MPRED / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_BR_MPRED_CPI" "MetricName": "DISPATCH_STALL_BR_MPRED_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch for any reason", "BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch for any reason",
"MetricExpr": "PM_DISP_STALL_HELD_CYC / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_HELD_CYC / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_HELD_CPI" "MetricName": "DISPATCH_STALL_HELD_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch because of a synchronizing instruction that requires the ICT to be empty before dispatch", "BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch because of a synchronizing instruction that requires the ICT to be empty before dispatch",
"MetricExpr": "PM_DISP_STALL_HELD_SYNC_CYC / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_HELD_SYNC_CYC / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISP_HELD_STALL_SYNC_CPI" "MetricName": "DISPATCH_STALL_HELD_SYNC_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch while waiting on the scoreboard", "BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch while waiting on the scoreboard",
"MetricExpr": "PM_DISP_STALL_HELD_SCOREBOARD_CYC / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_HELD_SCOREBOARD_CYC / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISP_HELD_STALL_SCOREBOARD_CPI" "MetricName": "DISPATCH_STALL_HELD_SCOREBOARD_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch due to issue queue full", "BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch due to issue queue full",
"MetricExpr": "PM_DISP_STALL_HELD_ISSQ_FULL_CYC / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_HELD_ISSQ_FULL_CYC / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISP_HELD_STALL_ISSQ_FULL_CPI" "MetricName": "DISPATCH_STALL_HELD_ISSQ_FULL_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch because the mapper/SRB was full", "BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch because the mapper/SRB was full",
"MetricExpr": "PM_DISP_STALL_HELD_RENAME_CYC / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_HELD_RENAME_CYC / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_HELD_RENAME_CPI" "MetricName": "DISPATCH_STALL_HELD_RENAME_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch because the STF mapper/SRB was full", "BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch because the STF mapper/SRB was full",
"MetricExpr": "PM_DISP_STALL_HELD_STF_MAPPER_CYC / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_HELD_STF_MAPPER_CYC / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_HELD_STF_MAPPER_CPI" "MetricName": "DISPATCH_STALL_HELD_STF_MAPPER_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch because the XVFC mapper/SRB was full", "BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch because the XVFC mapper/SRB was full",
"MetricExpr": "PM_DISP_STALL_HELD_XVFC_MAPPER_CYC / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_HELD_XVFC_MAPPER_CYC / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_HELD_XVFC_MAPPER_CPI" "MetricName": "DISPATCH_STALL_HELD_XVFC_MAPPER_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch for any other reason", "BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch for any other reason",
"MetricExpr": "PM_DISP_STALL_HELD_OTHER_CYC / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_HELD_OTHER_CYC / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_HELD_OTHER_CPI" "MetricName": "DISPATCH_STALL_HELD_OTHER_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when the NTC instruction has been dispatched but not issued for any reason", "BriefDescription": "Average cycles per completed instruction when the NTC instruction has been dispatched but not issued for any reason",
...@@ -352,13 +352,13 @@ ...@@ -352,13 +352,13 @@
"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", "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", "MetricExpr": "PM_DISP_STALL_FETCH / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_FETCH_CPI" "MetricName": "DISPATCH_STALL_FETCH_CPI"
}, },
{ {
"BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch because of power management", "BriefDescription": "Average cycles per completed instruction when the NTC instruction was held at dispatch because of power management",
"MetricExpr": "PM_DISP_STALL_HELD_HALT_CYC / PM_RUN_INST_CMPL", "MetricExpr": "PM_DISP_STALL_HELD_HALT_CYC / PM_RUN_INST_CMPL",
"MetricGroup": "CPI", "MetricGroup": "CPI",
"MetricName": "DISPATCHED_HELD_HALT_CPI" "MetricName": "DISPATCH_STALL_HELD_HALT_CPI"
}, },
{ {
"BriefDescription": "Percentage of flushes per completed instruction", "BriefDescription": "Percentage of flushes per completed instruction",
...@@ -560,7 +560,7 @@ ...@@ -560,7 +560,7 @@
"BriefDescription": "Average number of STCX instructions finshed per completed instruction", "BriefDescription": "Average number of STCX instructions finshed per completed instruction",
"MetricExpr": "PM_STCX_FIN / PM_RUN_INST_CMPL", "MetricExpr": "PM_STCX_FIN / PM_RUN_INST_CMPL",
"MetricGroup": "General", "MetricGroup": "General",
"MetricName": "STXC_PER_INST" "MetricName": "STCX_PER_INST"
}, },
{ {
"BriefDescription": "Average number of LARX instructions finshed per completed instruction", "BriefDescription": "Average number of LARX instructions finshed per completed instruction",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment