-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf vendor events: Initial JSON/events list for power10 platform
Patch adds initial JSON/events for POWER10. Signed-off-by: Kajol Jain <kjain@linux.ibm.com> Reviewed-by: Paul Clarke <pc@us.ibm.com> Tested-by: Paul Clarke <pc@us.ibm.com> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Cc: Ravi Bangoria <ravi.bangoria@linux.ibm.com> Cc: linuxppc-dev@lists.ozlabs.org Link: http://lore.kernel.org/lkml/20210419112001.71466-1-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
Apr 20, 2021
1 parent
8188694
commit 32daa5d
Showing
11 changed files
with
1,296 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[ | ||
{ | ||
"EventCode": "1003C", | ||
"EventName": "PM_EXEC_STALL_DMISS_L2L3", | ||
"BriefDescription": "Cycles in which the oldest instruction in the pipeline was waiting for a load miss to resolve from either the local L2 or local L3." | ||
}, | ||
{ | ||
"EventCode": "34056", | ||
"EventName": "PM_EXEC_STALL_LOAD_FINISH", | ||
"BriefDescription": "Cycles in which the oldest instruction in the pipeline was finishing a load after its data was reloaded from a data source beyond the local L1; cycles in which the LSU was processing an L1-hit; cycles in which the NTF instruction merged with another load in the LMQ." | ||
}, | ||
{ | ||
"EventCode": "3006C", | ||
"EventName": "PM_RUN_CYC_SMT2_MODE", | ||
"BriefDescription": "Cycles when this thread's run latch is set and the core is in SMT2 mode." | ||
}, | ||
{ | ||
"EventCode": "300F4", | ||
"EventName": "PM_RUN_INST_CMPL_CONC", | ||
"BriefDescription": "PowerPC instructions completed by this thread when all threads in the core had the run-latch set." | ||
}, | ||
{ | ||
"EventCode": "4C016", | ||
"EventName": "PM_EXEC_STALL_DMISS_L2L3_CONFLICT", | ||
"BriefDescription": "Cycles in which the oldest instruction in the pipeline was waiting for a load miss to resolve from the local L2 or local L3, with a dispatch conflict." | ||
}, | ||
{ | ||
"EventCode": "4D014", | ||
"EventName": "PM_EXEC_STALL_LOAD", | ||
"BriefDescription": "Cycles in which the oldest instruction in the pipeline was a load instruction executing in the Load Store Unit." | ||
}, | ||
{ | ||
"EventCode": "4D016", | ||
"EventName": "PM_EXEC_STALL_PTESYNC", | ||
"BriefDescription": "Cycles in which the oldest instruction in the pipeline was a PTESYNC instruction executing in the Load Store Unit." | ||
}, | ||
{ | ||
"EventCode": "401EA", | ||
"EventName": "PM_THRESH_EXC_128", | ||
"BriefDescription": "Threshold counter exceeded a value of 128." | ||
}, | ||
{ | ||
"EventCode": "400F6", | ||
"EventName": "PM_BR_MPRED_CMPL", | ||
"BriefDescription": "A mispredicted branch completed. Includes direction and target." | ||
} | ||
] |
7 changes: 7 additions & 0 deletions
7
tools/perf/pmu-events/arch/powerpc/power10/floating_point.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[ | ||
{ | ||
"EventCode": "4016E", | ||
"EventName": "PM_THRESH_NOT_MET", | ||
"BriefDescription": "Threshold counter did not meet threshold." | ||
} | ||
] |
217 changes: 217 additions & 0 deletions
217
tools/perf/pmu-events/arch/powerpc/power10/frontend.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,217 @@ | ||
[ | ||
{ | ||
"EventCode": "10004", | ||
"EventName": "PM_EXEC_STALL_TRANSLATION", | ||
"BriefDescription": "Cycles in which the oldest instruction in the pipeline suffered a TLB miss or ERAT miss and waited for it to resolve." | ||
}, | ||
{ | ||
"EventCode": "10010", | ||
"EventName": "PM_PMC4_OVERFLOW", | ||
"BriefDescription": "The event selected for PMC4 caused the event counter to overflow." | ||
}, | ||
{ | ||
"EventCode": "10020", | ||
"EventName": "PM_PMC4_REWIND", | ||
"BriefDescription": "The speculative event selected for PMC4 rewinds and the counter for PMC4 is not charged." | ||
}, | ||
{ | ||
"EventCode": "10038", | ||
"EventName": "PM_DISP_STALL_TRANSLATION", | ||
"BriefDescription": "Cycles when dispatch was stalled for this thread because the MMU was handling a translation miss." | ||
}, | ||
{ | ||
"EventCode": "1003A", | ||
"EventName": "PM_DISP_STALL_BR_MPRED_IC_L2", | ||
"BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from the local L2 after suffering a branch mispredict." | ||
}, | ||
{ | ||
"EventCode": "1E050", | ||
"EventName": "PM_DISP_STALL_HELD_STF_MAPPER_CYC", | ||
"BriefDescription": "Cycles in which the NTC instruction is held at dispatch because the STF mapper/SRB was full. Includes GPR (count, link, tar), VSR, VMR, FPR." | ||
}, | ||
{ | ||
"EventCode": "1F054", | ||
"EventName": "PM_DTLB_HIT", | ||
"BriefDescription": "The PTE required by the instruction was resident in the TLB (data TLB access). When MMCR1[16]=0 this event counts only demand hits. When MMCR1[16]=1 this event includes demand and prefetch. Applies to both HPT and RPT." | ||
}, | ||
{ | ||
"EventCode": "101E8", | ||
"EventName": "PM_THRESH_EXC_256", | ||
"BriefDescription": "Threshold counter exceeded a count of 256." | ||
}, | ||
{ | ||
"EventCode": "101EC", | ||
"EventName": "PM_THRESH_MET", | ||
"BriefDescription": "Threshold exceeded." | ||
}, | ||
{ | ||
"EventCode": "100F2", | ||
"EventName": "PM_1PLUS_PPC_CMPL", | ||
"BriefDescription": "Cycles in which at least one instruction is completed by this thread." | ||
}, | ||
{ | ||
"EventCode": "100F6", | ||
"EventName": "PM_IERAT_MISS", | ||
"BriefDescription": "IERAT Reloaded to satisfy an IERAT miss. All page sizes are counted by this event." | ||
}, | ||
{ | ||
"EventCode": "100F8", | ||
"EventName": "PM_DISP_STALL_CYC", | ||
"BriefDescription": "Cycles the ICT has no itags assigned to this thread (no instructions were dispatched during these cycles)." | ||
}, | ||
{ | ||
"EventCode": "20114", | ||
"EventName": "PM_MRK_L2_RC_DISP", | ||
"BriefDescription": "Marked instruction RC dispatched in L2." | ||
}, | ||
{ | ||
"EventCode": "2C010", | ||
"EventName": "PM_EXEC_STALL_LSU", | ||
"BriefDescription": "Cycles in which the oldest instruction in the pipeline was executing in the Load Store Unit. This does not include simple fixed point instructions." | ||
}, | ||
{ | ||
"EventCode": "2C016", | ||
"EventName": "PM_DISP_STALL_IERAT_ONLY_MISS", | ||
"BriefDescription": "Cycles when dispatch was stalled while waiting to resolve an instruction ERAT miss." | ||
}, | ||
{ | ||
"EventCode": "2C01E", | ||
"EventName": "PM_DISP_STALL_BR_MPRED_IC_L3", | ||
"BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from the local L3 after suffering a branch mispredict." | ||
}, | ||
{ | ||
"EventCode": "2D01A", | ||
"EventName": "PM_DISP_STALL_IC_MISS", | ||
"BriefDescription": "Cycles when dispatch was stalled for this thread due to an Icache Miss." | ||
}, | ||
{ | ||
"EventCode": "2D01C", | ||
"EventName": "PM_CMPL_STALL_STCX", | ||
"BriefDescription": "Cycles in which the oldest instruction in the pipeline was a stcx waiting for resolution from the nest before completing." | ||
}, | ||
{ | ||
"EventCode": "2E018", | ||
"EventName": "PM_DISP_STALL_FETCH", | ||
"BriefDescription": "Cycles when dispatch was stalled for this thread because Fetch was being held." | ||
}, | ||
{ | ||
"EventCode": "2E01A", | ||
"EventName": "PM_DISP_STALL_HELD_XVFC_MAPPER_CYC", | ||
"BriefDescription": "Cycles in which the NTC instruction is held at dispatch because the XVFC mapper/SRB was full." | ||
}, | ||
{ | ||
"EventCode": "2C142", | ||
"EventName": "PM_MRK_XFER_FROM_SRC_PMC2", | ||
"BriefDescription": "For a marked data transfer instruction, the processor's L1 data cache was reloaded from the source specified in MMCR3[15:27]. If MMCR1[16|17] is 0 (default), this count includes only lines that were reloaded to satisfy a demand miss. If MMCR1[16|17] is 1, this count includes both demand misses and prefetch reloads." | ||
}, | ||
{ | ||
"EventCode": "24050", | ||
"EventName": "PM_IOPS_DISP", | ||
"BriefDescription": "Internal Operations dispatched. PM_IOPS_DISP / PM_INST_DISP will show the average number of internal operations per PowerPC instruction." | ||
}, | ||
{ | ||
"EventCode": "2405E", | ||
"EventName": "PM_ISSUE_CANCEL", | ||
"BriefDescription": "An instruction issued and the issue was later cancelled. Only one cancel per PowerPC instruction." | ||
}, | ||
{ | ||
"EventCode": "200FA", | ||
"EventName": "PM_BR_TAKEN_CMPL", | ||
"BriefDescription": "Branch Taken instruction completed." | ||
}, | ||
{ | ||
"EventCode": "30012", | ||
"EventName": "PM_FLUSH_COMPLETION", | ||
"BriefDescription": "The instruction that was next to complete (oldest in the pipeline) did not complete because it suffered a flush." | ||
}, | ||
{ | ||
"EventCode": "30014", | ||
"EventName": "PM_EXEC_STALL_STORE", | ||
"BriefDescription": "Cycles in which the oldest instruction in the pipeline was a store instruction executing in the Load Store Unit." | ||
}, | ||
{ | ||
"EventCode": "30018", | ||
"EventName": "PM_DISP_STALL_HELD_SCOREBOARD_CYC", | ||
"BriefDescription": "Cycles in which the NTC instruction is held at dispatch while waiting on the Scoreboard. This event combines VSCR and FPSCR together." | ||
}, | ||
{ | ||
"EventCode": "30026", | ||
"EventName": "PM_EXEC_STALL_STORE_MISS", | ||
"BriefDescription": "Cycles in which the oldest instruction in the pipeline was a store whose cache line was not resident in the L1 and was waiting for allocation of the missing line into the L1." | ||
}, | ||
{ | ||
"EventCode": "3012A", | ||
"EventName": "PM_MRK_L2_RC_DONE", | ||
"BriefDescription": "L2 RC machine completed the transaction for the marked instruction." | ||
}, | ||
{ | ||
"EventCode": "3F046", | ||
"EventName": "PM_ITLB_HIT_1G", | ||
"BriefDescription": "Instruction TLB hit (IERAT reload) page size 1G, which implies Radix Page Table translation is in use. When MMCR1[17]=0 this event counts only for demand misses. When MMCR1[17]=1 this event includes demand misses and prefetches." | ||
}, | ||
{ | ||
"EventCode": "34058", | ||
"EventName": "PM_DISP_STALL_BR_MPRED_ICMISS", | ||
"BriefDescription": "Cycles when dispatch was stalled after a mispredicted branch resulted in an instruction cache miss." | ||
}, | ||
{ | ||
"EventCode": "3D05C", | ||
"EventName": "PM_DISP_STALL_HELD_RENAME_CYC", | ||
"BriefDescription": "Cycles in which the NTC instruction is held at dispatch because the mapper/SRB was full. Includes GPR (count, link, tar), VSR, VMR, FPR and XVFC." | ||
}, | ||
{ | ||
"EventCode": "3E052", | ||
"EventName": "PM_DISP_STALL_IC_L3", | ||
"BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from the local L3." | ||
}, | ||
{ | ||
"EventCode": "3E054", | ||
"EventName": "PM_LD_MISS_L1", | ||
"BriefDescription": "Load Missed L1, counted at execution time (can be greater than loads finished). LMQ merges are not included in this count. i.e. if a load instruction misses on an address that is already allocated on the LMQ, this event will not increment for that load). Note that this count is per slice, so if a load spans multiple slices this event will increment multiple times for a single load." | ||
}, | ||
{ | ||
"EventCode": "301EA", | ||
"EventName": "PM_THRESH_EXC_1024", | ||
"BriefDescription": "Threshold counter exceeded a value of 1024." | ||
}, | ||
{ | ||
"EventCode": "300FA", | ||
"EventName": "PM_INST_FROM_L3MISS", | ||
"BriefDescription": "The processor's instruction cache was reloaded from a source other than the local core's L1, L2, or L3 due to a demand miss." | ||
}, | ||
{ | ||
"EventCode": "40006", | ||
"EventName": "PM_ISSUE_KILL", | ||
"BriefDescription": "Cycles in which an instruction or group of instructions were cancelled after being issued. This event increments once per occurrence, regardless of how many instructions are included in the issue group." | ||
}, | ||
{ | ||
"EventCode": "40116", | ||
"EventName": "PM_MRK_LARX_FIN", | ||
"BriefDescription": "Marked load and reserve instruction (LARX) finished. LARX and STCX are instructions used to acquire a lock." | ||
}, | ||
{ | ||
"EventCode": "4C010", | ||
"EventName": "PM_DISP_STALL_BR_MPRED_IC_L3MISS", | ||
"BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from sources beyond the local L3 after suffering a mispredicted branch." | ||
}, | ||
{ | ||
"EventCode": "4D01E", | ||
"EventName": "PM_DISP_STALL_BR_MPRED", | ||
"BriefDescription": "Cycles when dispatch was stalled for this thread due to a mispredicted branch." | ||
}, | ||
{ | ||
"EventCode": "4E010", | ||
"EventName": "PM_DISP_STALL_IC_L3MISS", | ||
"BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from any source beyond the local L3." | ||
}, | ||
{ | ||
"EventCode": "4E01A", | ||
"EventName": "PM_DISP_STALL_HELD_CYC", | ||
"BriefDescription": "Cycles in which the NTC instruction is held at dispatch for any reason." | ||
}, | ||
{ | ||
"EventCode": "44056", | ||
"EventName": "PM_VECTOR_ST_CMPL", | ||
"BriefDescription": "Vector store instructions completed." | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[ | ||
{ | ||
"EventCode": "1E058", | ||
"EventName": "PM_STCX_FAIL_FIN", | ||
"BriefDescription": "Conditional store instruction (STCX) failed. LARX and STCX are instructions used to acquire a lock." | ||
}, | ||
{ | ||
"EventCode": "4E050", | ||
"EventName": "PM_STCX_PASS_FIN", | ||
"BriefDescription": "Conditional store instruction (STCX) passed. LARX and STCX are instructions used to acquire a lock." | ||
} | ||
] |
Oops, something went wrong.