Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf vendor events powerpc: Fix eventcode of power10 JSON events

Fixed the eventcode values in the power10 JSON event files to prepend
"0x" since these are hexadecimal values.

The patch also changes the event description of the PM_EXEC_STALL_LOAD_FINISH
and PM_EXEC_STALL_NTC_FLUSH event and move some events to correct files.

Fixes: 32daa5d7899e ("perf vendor events: Initial JSON/events list for power10 platform")
Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Reviewed-by: Paul A. Clarke <pc@us.ibm.com>
Tested-by: Nageswara R Sastry <rnsastry@linux.ibm.com>
Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lore.kernel.org/lkml/20210525063723.1191514-1-kjain@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Kajol Jain and committed by
Arnaldo Carvalho de Melo
8fc4e4aa c673b7f5

+301 -301
+21 -11
tools/perf/pmu-events/arch/powerpc/power10/cache.json
··· 1 1 [ 2 2 { 3 - "EventCode": "1003C", 3 + "EventCode": "0x1003C", 4 4 "EventName": "PM_EXEC_STALL_DMISS_L2L3", 5 5 "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." 6 6 }, 7 7 { 8 - "EventCode": "34056", 9 - "EventName": "PM_EXEC_STALL_LOAD_FINISH", 10 - "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." 8 + "EventCode": "0x1E054", 9 + "EventName": "PM_EXEC_STALL_DMISS_L21_L31", 10 + "BriefDescription": "Cycles in which the oldest instruction in the pipeline was waiting for a load miss to resolve from another core's L2 or L3 on the same chip." 11 11 }, 12 12 { 13 - "EventCode": "3006C", 13 + "EventCode": "0x34054", 14 + "EventName": "PM_EXEC_STALL_DMISS_L2L3_NOCONFLICT", 15 + "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, without a dispatch conflict." 16 + }, 17 + { 18 + "EventCode": "0x34056", 19 + "EventName": "PM_EXEC_STALL_LOAD_FINISH", 20 + "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; cycles in which the NTF instruction is waiting for a data reload for a load miss, but the data comes back with a non-NTF instruction." 21 + }, 22 + { 23 + "EventCode": "0x3006C", 14 24 "EventName": "PM_RUN_CYC_SMT2_MODE", 15 25 "BriefDescription": "Cycles when this thread's run latch is set and the core is in SMT2 mode." 16 26 }, 17 27 { 18 - "EventCode": "300F4", 28 + "EventCode": "0x300F4", 19 29 "EventName": "PM_RUN_INST_CMPL_CONC", 20 30 "BriefDescription": "PowerPC instructions completed by this thread when all threads in the core had the run-latch set." 21 31 }, 22 32 { 23 - "EventCode": "4C016", 33 + "EventCode": "0x4C016", 24 34 "EventName": "PM_EXEC_STALL_DMISS_L2L3_CONFLICT", 25 35 "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." 26 36 }, 27 37 { 28 - "EventCode": "4D014", 38 + "EventCode": "0x4D014", 29 39 "EventName": "PM_EXEC_STALL_LOAD", 30 40 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was a load instruction executing in the Load Store Unit." 31 41 }, 32 42 { 33 - "EventCode": "4D016", 43 + "EventCode": "0x4D016", 34 44 "EventName": "PM_EXEC_STALL_PTESYNC", 35 45 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was a PTESYNC instruction executing in the Load Store Unit." 36 46 }, 37 47 { 38 - "EventCode": "401EA", 48 + "EventCode": "0x401EA", 39 49 "EventName": "PM_THRESH_EXC_128", 40 50 "BriefDescription": "Threshold counter exceeded a value of 128." 41 51 }, 42 52 { 43 - "EventCode": "400F6", 53 + "EventCode": "0x400F6", 44 54 "EventName": "PM_BR_MPRED_CMPL", 45 55 "BriefDescription": "A mispredicted branch completed. Includes direction and target." 46 56 }
+1 -1
tools/perf/pmu-events/arch/powerpc/power10/floating_point.json
··· 1 1 [ 2 2 { 3 - "EventCode": "4016E", 3 + "EventCode": "0x4016E", 4 4 "EventName": "PM_THRESH_NOT_MET", 5 5 "BriefDescription": "Threshold counter did not meet threshold." 6 6 }
+77 -47
tools/perf/pmu-events/arch/powerpc/power10/frontend.json
··· 1 1 [ 2 2 { 3 - "EventCode": "10004", 3 + "EventCode": "0x10004", 4 4 "EventName": "PM_EXEC_STALL_TRANSLATION", 5 5 "BriefDescription": "Cycles in which the oldest instruction in the pipeline suffered a TLB miss or ERAT miss and waited for it to resolve." 6 6 }, 7 7 { 8 - "EventCode": "10010", 8 + "EventCode": "0x10006", 9 + "EventName": "PM_DISP_STALL_HELD_OTHER_CYC", 10 + "BriefDescription": "Cycles in which the NTC instruction is held at dispatch for any other reason." 11 + }, 12 + { 13 + "EventCode": "0x10010", 9 14 "EventName": "PM_PMC4_OVERFLOW", 10 15 "BriefDescription": "The event selected for PMC4 caused the event counter to overflow." 11 16 }, 12 17 { 13 - "EventCode": "10020", 18 + "EventCode": "0x10020", 14 19 "EventName": "PM_PMC4_REWIND", 15 20 "BriefDescription": "The speculative event selected for PMC4 rewinds and the counter for PMC4 is not charged." 16 21 }, 17 22 { 18 - "EventCode": "10038", 23 + "EventCode": "0x10038", 19 24 "EventName": "PM_DISP_STALL_TRANSLATION", 20 25 "BriefDescription": "Cycles when dispatch was stalled for this thread because the MMU was handling a translation miss." 21 26 }, 22 27 { 23 - "EventCode": "1003A", 28 + "EventCode": "0x1003A", 24 29 "EventName": "PM_DISP_STALL_BR_MPRED_IC_L2", 25 30 "BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from the local L2 after suffering a branch mispredict." 26 31 }, 27 32 { 28 - "EventCode": "1E050", 33 + "EventCode": "0x1D05E", 34 + "EventName": "PM_DISP_STALL_HELD_HALT_CYC", 35 + "BriefDescription": "Cycles in which the NTC instruction is held at dispatch because of power management." 36 + }, 37 + { 38 + "EventCode": "0x1E050", 29 39 "EventName": "PM_DISP_STALL_HELD_STF_MAPPER_CYC", 30 40 "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." 31 41 }, 32 42 { 33 - "EventCode": "1F054", 43 + "EventCode": "0x1F054", 34 44 "EventName": "PM_DTLB_HIT", 35 45 "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." 36 46 }, 37 47 { 38 - "EventCode": "101E8", 48 + "EventCode": "0x10064", 49 + "EventName": "PM_DISP_STALL_IC_L2", 50 + "BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from the local L2." 51 + }, 52 + { 53 + "EventCode": "0x101E8", 39 54 "EventName": "PM_THRESH_EXC_256", 40 55 "BriefDescription": "Threshold counter exceeded a count of 256." 41 56 }, 42 57 { 43 - "EventCode": "101EC", 58 + "EventCode": "0x101EC", 44 59 "EventName": "PM_THRESH_MET", 45 60 "BriefDescription": "Threshold exceeded." 46 61 }, 47 62 { 48 - "EventCode": "100F2", 63 + "EventCode": "0x100F2", 49 64 "EventName": "PM_1PLUS_PPC_CMPL", 50 65 "BriefDescription": "Cycles in which at least one instruction is completed by this thread." 51 66 }, 52 67 { 53 - "EventCode": "100F6", 68 + "EventCode": "0x100F6", 54 69 "EventName": "PM_IERAT_MISS", 55 70 "BriefDescription": "IERAT Reloaded to satisfy an IERAT miss. All page sizes are counted by this event." 56 71 }, 57 72 { 58 - "EventCode": "100F8", 73 + "EventCode": "0x100F8", 59 74 "EventName": "PM_DISP_STALL_CYC", 60 75 "BriefDescription": "Cycles the ICT has no itags assigned to this thread (no instructions were dispatched during these cycles)." 61 76 }, 62 77 { 63 - "EventCode": "20114", 78 + "EventCode": "0x20006", 79 + "EventName": "PM_DISP_STALL_HELD_ISSQ_FULL_CYC", 80 + "BriefDescription": "Cycles in which the NTC instruction is held at dispatch due to Issue queue full. Includes issue queue and branch queue." 81 + }, 82 + { 83 + "EventCode": "0x20114", 64 84 "EventName": "PM_MRK_L2_RC_DISP", 65 85 "BriefDescription": "Marked instruction RC dispatched in L2." 66 86 }, 67 87 { 68 - "EventCode": "2C010", 88 + "EventCode": "0x2C010", 69 89 "EventName": "PM_EXEC_STALL_LSU", 70 90 "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." 71 91 }, 72 92 { 73 - "EventCode": "2C016", 93 + "EventCode": "0x2C016", 74 94 "EventName": "PM_DISP_STALL_IERAT_ONLY_MISS", 75 95 "BriefDescription": "Cycles when dispatch was stalled while waiting to resolve an instruction ERAT miss." 76 96 }, 77 97 { 78 - "EventCode": "2C01E", 98 + "EventCode": "0x2C01E", 79 99 "EventName": "PM_DISP_STALL_BR_MPRED_IC_L3", 80 100 "BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from the local L3 after suffering a branch mispredict." 81 101 }, 82 102 { 83 - "EventCode": "2D01A", 103 + "EventCode": "0x2D01A", 84 104 "EventName": "PM_DISP_STALL_IC_MISS", 85 105 "BriefDescription": "Cycles when dispatch was stalled for this thread due to an Icache Miss." 86 106 }, 87 107 { 88 - "EventCode": "2D01C", 89 - "EventName": "PM_CMPL_STALL_STCX", 90 - "BriefDescription": "Cycles in which the oldest instruction in the pipeline was a stcx waiting for resolution from the nest before completing." 91 - }, 92 - { 93 - "EventCode": "2E018", 108 + "EventCode": "0x2E018", 94 109 "EventName": "PM_DISP_STALL_FETCH", 95 110 "BriefDescription": "Cycles when dispatch was stalled for this thread because Fetch was being held." 96 111 }, 97 112 { 98 - "EventCode": "2E01A", 113 + "EventCode": "0x2E01A", 99 114 "EventName": "PM_DISP_STALL_HELD_XVFC_MAPPER_CYC", 100 115 "BriefDescription": "Cycles in which the NTC instruction is held at dispatch because the XVFC mapper/SRB was full." 101 116 }, 102 117 { 103 - "EventCode": "2C142", 118 + "EventCode": "0x2C142", 104 119 "EventName": "PM_MRK_XFER_FROM_SRC_PMC2", 105 120 "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." 106 121 }, 107 122 { 108 - "EventCode": "24050", 123 + "EventCode": "0x24050", 109 124 "EventName": "PM_IOPS_DISP", 110 125 "BriefDescription": "Internal Operations dispatched. PM_IOPS_DISP / PM_INST_DISP will show the average number of internal operations per PowerPC instruction." 111 126 }, 112 127 { 113 - "EventCode": "2405E", 128 + "EventCode": "0x2405E", 114 129 "EventName": "PM_ISSUE_CANCEL", 115 130 "BriefDescription": "An instruction issued and the issue was later cancelled. Only one cancel per PowerPC instruction." 116 131 }, 117 132 { 118 - "EventCode": "200FA", 133 + "EventCode": "0x200FA", 119 134 "EventName": "PM_BR_TAKEN_CMPL", 120 135 "BriefDescription": "Branch Taken instruction completed." 121 136 }, 122 137 { 123 - "EventCode": "30012", 138 + "EventCode": "0x30004", 139 + "EventName": "PM_DISP_STALL_FLUSH", 140 + "BriefDescription": "Cycles when dispatch was stalled because of a flush that happened to an instruction(s) that was not yet NTC. PM_EXEC_STALL_NTC_FLUSH only includes instructions that were flushed after becoming NTC." 141 + }, 142 + { 143 + "EventCode": "0x3000A", 144 + "EventName": "PM_DISP_STALL_ITLB_MISS", 145 + "BriefDescription": "Cycles when dispatch was stalled while waiting to resolve an instruction TLB miss." 146 + }, 147 + { 148 + "EventCode": "0x30012", 124 149 "EventName": "PM_FLUSH_COMPLETION", 125 150 "BriefDescription": "The instruction that was next to complete (oldest in the pipeline) did not complete because it suffered a flush." 126 151 }, 127 152 { 128 - "EventCode": "30014", 153 + "EventCode": "0x30014", 129 154 "EventName": "PM_EXEC_STALL_STORE", 130 155 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was a store instruction executing in the Load Store Unit." 131 156 }, 132 157 { 133 - "EventCode": "30018", 158 + "EventCode": "0x30018", 134 159 "EventName": "PM_DISP_STALL_HELD_SCOREBOARD_CYC", 135 160 "BriefDescription": "Cycles in which the NTC instruction is held at dispatch while waiting on the Scoreboard. This event combines VSCR and FPSCR together." 136 161 }, 137 162 { 138 - "EventCode": "30026", 163 + "EventCode": "0x30026", 139 164 "EventName": "PM_EXEC_STALL_STORE_MISS", 140 165 "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." 141 166 }, 142 167 { 143 - "EventCode": "3012A", 168 + "EventCode": "0x3012A", 144 169 "EventName": "PM_MRK_L2_RC_DONE", 145 170 "BriefDescription": "L2 RC machine completed the transaction for the marked instruction." 146 171 }, 147 172 { 148 - "EventCode": "3F046", 173 + "EventCode": "0x3F046", 149 174 "EventName": "PM_ITLB_HIT_1G", 150 175 "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." 151 176 }, 152 177 { 153 - "EventCode": "34058", 178 + "EventCode": "0x34058", 154 179 "EventName": "PM_DISP_STALL_BR_MPRED_ICMISS", 155 180 "BriefDescription": "Cycles when dispatch was stalled after a mispredicted branch resulted in an instruction cache miss." 156 181 }, 157 182 { 158 - "EventCode": "3D05C", 183 + "EventCode": "0x3D05C", 159 184 "EventName": "PM_DISP_STALL_HELD_RENAME_CYC", 160 185 "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." 161 186 }, 162 187 { 163 - "EventCode": "3E052", 188 + "EventCode": "0x3E052", 164 189 "EventName": "PM_DISP_STALL_IC_L3", 165 190 "BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from the local L3." 166 191 }, 167 192 { 168 - "EventCode": "3E054", 193 + "EventCode": "0x3E054", 169 194 "EventName": "PM_LD_MISS_L1", 170 195 "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." 171 196 }, 172 197 { 173 - "EventCode": "301EA", 198 + "EventCode": "0x301EA", 174 199 "EventName": "PM_THRESH_EXC_1024", 175 200 "BriefDescription": "Threshold counter exceeded a value of 1024." 176 201 }, 177 202 { 178 - "EventCode": "300FA", 203 + "EventCode": "0x300FA", 179 204 "EventName": "PM_INST_FROM_L3MISS", 180 205 "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." 181 206 }, 182 207 { 183 - "EventCode": "40006", 208 + "EventCode": "0x40006", 184 209 "EventName": "PM_ISSUE_KILL", 185 210 "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." 186 211 }, 187 212 { 188 - "EventCode": "40116", 213 + "EventCode": "0x40116", 189 214 "EventName": "PM_MRK_LARX_FIN", 190 215 "BriefDescription": "Marked load and reserve instruction (LARX) finished. LARX and STCX are instructions used to acquire a lock." 191 216 }, 192 217 { 193 - "EventCode": "4C010", 218 + "EventCode": "0x4C010", 194 219 "EventName": "PM_DISP_STALL_BR_MPRED_IC_L3MISS", 195 220 "BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from sources beyond the local L3 after suffering a mispredicted branch." 196 221 }, 197 222 { 198 - "EventCode": "4D01E", 223 + "EventCode": "0x4D01E", 199 224 "EventName": "PM_DISP_STALL_BR_MPRED", 200 225 "BriefDescription": "Cycles when dispatch was stalled for this thread due to a mispredicted branch." 201 226 }, 202 227 { 203 - "EventCode": "4E010", 228 + "EventCode": "0x4E010", 204 229 "EventName": "PM_DISP_STALL_IC_L3MISS", 205 230 "BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from any source beyond the local L3." 206 231 }, 207 232 { 208 - "EventCode": "4E01A", 233 + "EventCode": "0x4E01A", 209 234 "EventName": "PM_DISP_STALL_HELD_CYC", 210 235 "BriefDescription": "Cycles in which the NTC instruction is held at dispatch for any reason." 211 236 }, 212 237 { 213 - "EventCode": "44056", 238 + "EventCode": "0x4003C", 239 + "EventName": "PM_DISP_STALL_HELD_SYNC_CYC", 240 + "BriefDescription": "Cycles in which the NTC instruction is held at dispatch because of a synchronizing instruction that requires the ICT to be empty before dispatch." 241 + }, 242 + { 243 + "EventCode": "0x44056", 214 244 "EventName": "PM_VECTOR_ST_CMPL", 215 245 "BriefDescription": "Vector store instructions completed." 216 246 }
+2 -2
tools/perf/pmu-events/arch/powerpc/power10/locks.json
··· 1 1 [ 2 2 { 3 - "EventCode": "1E058", 3 + "EventCode": "0x1E058", 4 4 "EventName": "PM_STCX_FAIL_FIN", 5 5 "BriefDescription": "Conditional store instruction (STCX) failed. LARX and STCX are instructions used to acquire a lock." 6 6 }, 7 7 { 8 - "EventCode": "4E050", 8 + "EventCode": "0x4E050", 9 9 "EventName": "PM_STCX_PASS_FIN", 10 10 "BriefDescription": "Conditional store instruction (STCX) passed. LARX and STCX are instructions used to acquire a lock." 11 11 }
+28 -33
tools/perf/pmu-events/arch/powerpc/power10/marked.json
··· 1 1 [ 2 2 { 3 - "EventCode": "1002C", 3 + "EventCode": "0x1002C", 4 4 "EventName": "PM_LD_PREFETCH_CACHE_LINE_MISS", 5 5 "BriefDescription": "The L1 cache was reloaded with a line that fulfills a prefetch request." 6 6 }, 7 7 { 8 - "EventCode": "10132", 8 + "EventCode": "0x10132", 9 9 "EventName": "PM_MRK_INST_ISSUED", 10 10 "BriefDescription": "Marked instruction issued. Note that stores always get issued twice, the address gets issued to the LSU and the data gets issued to the VSU. Also, issues can sometimes get killed/cancelled and cause multiple sequential issues for the same instruction." 11 11 }, 12 12 { 13 - "EventCode": "101E0", 13 + "EventCode": "0x101E0", 14 14 "EventName": "PM_MRK_INST_DISP", 15 15 "BriefDescription": "The thread has dispatched a randomly sampled marked instruction." 16 16 }, 17 17 { 18 - "EventCode": "101E2", 18 + "EventCode": "0x101E2", 19 19 "EventName": "PM_MRK_BR_TAKEN_CMPL", 20 20 "BriefDescription": "Marked Branch Taken instruction completed." 21 21 }, 22 22 { 23 - "EventCode": "20112", 23 + "EventCode": "0x20112", 24 24 "EventName": "PM_MRK_NTF_FIN", 25 25 "BriefDescription": "The marked instruction became the oldest in the pipeline before it finished. It excludes instructions that finish at dispatch." 26 26 }, 27 27 { 28 - "EventCode": "2C01C", 28 + "EventCode": "0x2C01C", 29 29 "EventName": "PM_EXEC_STALL_DMISS_OFF_CHIP", 30 30 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was waiting for a load miss to resolve from a remote chip." 31 31 }, 32 32 { 33 - "EventCode": "20138", 33 + "EventCode": "0x20138", 34 34 "EventName": "PM_MRK_ST_NEST", 35 35 "BriefDescription": "A store has been sampled/marked and is at the point of execution where it has completed in the core and can no longer be flushed. At this point the store is sent to the L2." 36 36 }, 37 37 { 38 - "EventCode": "2013A", 38 + "EventCode": "0x2013A", 39 39 "EventName": "PM_MRK_BRU_FIN", 40 40 "BriefDescription": "Marked Branch instruction finished." 41 41 }, 42 42 { 43 - "EventCode": "2C144", 43 + "EventCode": "0x2C144", 44 44 "EventName": "PM_MRK_XFER_FROM_SRC_CYC_PMC2", 45 45 "BriefDescription": "Cycles taken for a marked demand miss to reload a line from the source specified in MMCR3[15:27]." 46 46 }, 47 47 { 48 - "EventCode": "24156", 48 + "EventCode": "0x24156", 49 49 "EventName": "PM_MRK_STCX_FIN", 50 50 "BriefDescription": "Marked conditional store instruction (STCX) finished. LARX and STCX are instructions used to acquire a lock." 51 51 }, 52 52 { 53 - "EventCode": "24158", 53 + "EventCode": "0x24158", 54 54 "EventName": "PM_MRK_INST", 55 55 "BriefDescription": "An instruction was marked. Includes both Random Instruction Sampling (RIS) at decode time and Random Event Sampling (RES) at the time the configured event happens." 56 56 }, 57 57 { 58 - "EventCode": "2415C", 58 + "EventCode": "0x2415C", 59 59 "EventName": "PM_MRK_BR_CMPL", 60 60 "BriefDescription": "A marked branch completed. All branches are included." 61 61 }, 62 62 { 63 - "EventCode": "200FD", 63 + "EventCode": "0x200FD", 64 64 "EventName": "PM_L1_ICACHE_MISS", 65 65 "BriefDescription": "Demand iCache Miss." 66 66 }, 67 67 { 68 - "EventCode": "30130", 68 + "EventCode": "0x30130", 69 69 "EventName": "PM_MRK_INST_FIN", 70 70 "BriefDescription": "marked instruction finished. Excludes instructions that finish at dispatch. Note that stores always finish twice since the address gets issued to the LSU and the data gets issued to the VSU." 71 71 }, 72 72 { 73 - "EventCode": "34146", 73 + "EventCode": "0x34146", 74 74 "EventName": "PM_MRK_LD_CMPL", 75 75 "BriefDescription": "Marked loads completed." 76 76 }, 77 77 { 78 - "EventCode": "3E158", 78 + "EventCode": "0x3E158", 79 79 "EventName": "PM_MRK_STCX_FAIL", 80 80 "BriefDescription": "Marked conditional store instruction (STCX) failed. LARX and STCX are instructions used to acquire a lock." 81 81 }, 82 82 { 83 - "EventCode": "3E15A", 83 + "EventCode": "0x3E15A", 84 84 "EventName": "PM_MRK_ST_FIN", 85 85 "BriefDescription": "The marked instruction was a store of any kind." 86 86 }, 87 87 { 88 - "EventCode": "30068", 88 + "EventCode": "0x30068", 89 89 "EventName": "PM_L1_ICACHE_RELOADED_PREF", 90 90 "BriefDescription": "Counts all Icache prefetch reloads ( includes demand turned into prefetch)." 91 91 }, 92 92 { 93 - "EventCode": "301E4", 93 + "EventCode": "0x301E4", 94 94 "EventName": "PM_MRK_BR_MPRED_CMPL", 95 95 "BriefDescription": "Marked Branch Mispredicted. Includes direction and target." 96 96 }, 97 97 { 98 - "EventCode": "300F6", 98 + "EventCode": "0x300F6", 99 99 "EventName": "PM_LD_DEMAND_MISS_L1", 100 100 "BriefDescription": "The L1 cache was reloaded with a line that fulfills a demand miss request. Counted at reload time, before finish." 101 101 }, 102 102 { 103 - "EventCode": "300FE", 103 + "EventCode": "0x300FE", 104 104 "EventName": "PM_DATA_FROM_L3MISS", 105 105 "BriefDescription": "The processor's data cache was reloaded from a source other than the local core's L1, L2, or L3 due to a demand miss." 106 106 }, 107 107 { 108 - "EventCode": "40012", 108 + "EventCode": "0x40012", 109 109 "EventName": "PM_L1_ICACHE_RELOADED_ALL", 110 110 "BriefDescription": "Counts all Icache reloads includes demand, prefetch, prefetch turned into demand and demand turned into prefetch." 111 111 }, 112 112 { 113 - "EventCode": "40134", 113 + "EventCode": "0x40134", 114 114 "EventName": "PM_MRK_INST_TIMEO", 115 115 "BriefDescription": "Marked instruction finish timeout (instruction was lost)." 116 116 }, 117 117 { 118 - "EventCode": "4003C", 119 - "EventName": "PM_DISP_STALL_HELD_SYNC_CYC", 120 - "BriefDescription": "Cycles in which the NTC instruction is held at dispatch because of a synchronizing instruction that requires the ICT to be empty before dispatch." 121 - }, 122 - { 123 - "EventCode": "4505A", 118 + "EventCode": "0x4505A", 124 119 "EventName": "PM_SP_FLOP_CMPL", 125 120 "BriefDescription": "Single Precision floating point instructions completed." 126 121 }, 127 122 { 128 - "EventCode": "4D058", 123 + "EventCode": "0x4D058", 129 124 "EventName": "PM_VECTOR_FLOP_CMPL", 130 125 "BriefDescription": "Vector floating point instructions completed." 131 126 }, 132 127 { 133 - "EventCode": "4D05A", 128 + "EventCode": "0x4D05A", 134 129 "EventName": "PM_NON_MATH_FLOP_CMPL", 135 130 "BriefDescription": "Non Math instructions completed." 136 131 }, 137 132 { 138 - "EventCode": "401E0", 133 + "EventCode": "0x401E0", 139 134 "EventName": "PM_MRK_INST_CMPL", 140 135 "BriefDescription": "marked instruction completed." 141 136 }, 142 137 { 143 - "EventCode": "400FE", 138 + "EventCode": "0x400FE", 144 139 "EventName": "PM_DATA_FROM_MEMORY", 145 140 "BriefDescription": "The processor's data cache was reloaded from local, remote, or distant memory due to a demand miss." 146 141 }
+37 -42
tools/perf/pmu-events/arch/powerpc/power10/memory.json
··· 1 1 [ 2 2 { 3 - "EventCode": "1000A", 3 + "EventCode": "0x1000A", 4 4 "EventName": "PM_PMC3_REWIND", 5 5 "BriefDescription": "The speculative event selected for PMC3 rewinds and the counter for PMC3 is not charged." 6 6 }, 7 7 { 8 - "EventCode": "1C040", 8 + "EventCode": "0x1C040", 9 9 "EventName": "PM_XFER_FROM_SRC_PMC1", 10 10 "BriefDescription": "The processor's L1 data cache was reloaded from the source specified in MMCR3[0:12]. 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." 11 11 }, 12 12 { 13 - "EventCode": "1C142", 13 + "EventCode": "0x1C142", 14 14 "EventName": "PM_MRK_XFER_FROM_SRC_PMC1", 15 15 "BriefDescription": "For a marked data transfer instruction, the processor's L1 data cache was reloaded from the source specified in MMCR3[0:12]. 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." 16 16 }, 17 17 { 18 - "EventCode": "1C144", 18 + "EventCode": "0x1C144", 19 19 "EventName": "PM_MRK_XFER_FROM_SRC_CYC_PMC1", 20 20 "BriefDescription": "Cycles taken for a marked demand miss to reload a line from the source specified in MMCR3[0:12]." 21 21 }, 22 22 { 23 - "EventCode": "1C056", 23 + "EventCode": "0x1C056", 24 24 "EventName": "PM_DERAT_MISS_4K", 25 25 "BriefDescription": "Data ERAT Miss (Data TLB Access) page size 4K. When MMCR1[16]=0 this event counts only DERAT reloads for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 26 26 }, 27 27 { 28 - "EventCode": "1C058", 28 + "EventCode": "0x1C058", 29 29 "EventName": "PM_DTLB_MISS_16G", 30 30 "BriefDescription": "Data TLB reload (after a miss) page size 16G. When MMCR1[16]=0 this event counts only for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 31 31 }, 32 32 { 33 - "EventCode": "1C05C", 33 + "EventCode": "0x1C05C", 34 34 "EventName": "PM_DTLB_MISS_2M", 35 35 "BriefDescription": "Data TLB reload (after a miss) page size 2M. Implies radix translation was used. When MMCR1[16]=0 this event counts only for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 36 36 }, 37 37 { 38 - "EventCode": "1E056", 38 + "EventCode": "0x1E056", 39 39 "EventName": "PM_EXEC_STALL_STORE_PIPE", 40 40 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was executing in the store unit. This does not include cycles spent handling store misses, PTESYNC instructions or TLBIE instructions." 41 41 }, 42 42 { 43 - "EventCode": "1F150", 43 + "EventCode": "0x1F150", 44 44 "EventName": "PM_MRK_ST_L2_CYC", 45 45 "BriefDescription": "Cycles from L2 RC dispatch to L2 RC completion." 46 46 }, 47 47 { 48 - "EventCode": "10062", 48 + "EventCode": "0x10062", 49 49 "EventName": "PM_LD_L3MISS_PEND_CYC", 50 50 "BriefDescription": "Cycles L3 miss was pending for this thread." 51 51 }, 52 52 { 53 - "EventCode": "20010", 53 + "EventCode": "0x20010", 54 54 "EventName": "PM_PMC1_OVERFLOW", 55 55 "BriefDescription": "The event selected for PMC1 caused the event counter to overflow." 56 56 }, 57 57 { 58 - "EventCode": "2001A", 58 + "EventCode": "0x2001A", 59 59 "EventName": "PM_ITLB_HIT", 60 60 "BriefDescription": "The PTE required to translate the instruction address was resident in the TLB (instruction TLB access/IERAT reload). Applies to both HPT and RPT. When MMCR1[17]=0 this event counts only for demand misses. When MMCR1[17]=1 this event includes demand misses and prefetches." 61 61 }, 62 62 { 63 - "EventCode": "2003E", 63 + "EventCode": "0x2003E", 64 64 "EventName": "PM_PTESYNC_FIN", 65 65 "BriefDescription": "Ptesync instruction finished in the store unit. Only one ptesync can finish at a time." 66 66 }, 67 67 { 68 - "EventCode": "2C040", 68 + "EventCode": "0x2C040", 69 69 "EventName": "PM_XFER_FROM_SRC_PMC2", 70 70 "BriefDescription": "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." 71 71 }, 72 72 { 73 - "EventCode": "2C054", 73 + "EventCode": "0x2C054", 74 74 "EventName": "PM_DERAT_MISS_64K", 75 75 "BriefDescription": "Data ERAT Miss (Data TLB Access) page size 64K. When MMCR1[16]=0 this event counts only DERAT reloads for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 76 76 }, 77 77 { 78 - "EventCode": "2C056", 78 + "EventCode": "0x2C056", 79 79 "EventName": "PM_DTLB_MISS_4K", 80 80 "BriefDescription": "Data TLB reload (after a miss) page size 4K. When MMCR1[16]=0 this event counts only for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 81 81 }, 82 82 { 83 - "EventCode": "2D154", 83 + "EventCode": "0x2D154", 84 84 "EventName": "PM_MRK_DERAT_MISS_64K", 85 85 "BriefDescription": "Data ERAT Miss (Data TLB Access) page size 64K for a marked instruction. When MMCR1[16]=0 this event counts only DERAT reloads for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 86 86 }, 87 87 { 88 - "EventCode": "200F6", 88 + "EventCode": "0x200F6", 89 89 "EventName": "PM_DERAT_MISS", 90 90 "BriefDescription": "DERAT Reloaded to satisfy a DERAT miss. All page sizes are counted by this event. When MMCR1[16]=0 this event counts only DERAT reloads for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 91 91 }, 92 92 { 93 - "EventCode": "3000A", 94 - "EventName": "PM_DISP_STALL_ITLB_MISS", 95 - "BriefDescription": "Cycles when dispatch was stalled while waiting to resolve an instruction TLB miss." 96 - }, 97 - { 98 - "EventCode": "30016", 93 + "EventCode": "0x30016", 99 94 "EventName": "PM_EXEC_STALL_DERAT_DTLB_MISS", 100 95 "BriefDescription": "Cycles in which the oldest instruction in the pipeline suffered a TLB miss and waited for it resolve." 101 96 }, 102 97 { 103 - "EventCode": "3C040", 98 + "EventCode": "0x3C040", 104 99 "EventName": "PM_XFER_FROM_SRC_PMC3", 105 100 "BriefDescription": "The processor's L1 data cache was reloaded from the source specified in MMCR3[30:42]. 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." 106 101 }, 107 102 { 108 - "EventCode": "3C142", 103 + "EventCode": "0x3C142", 109 104 "EventName": "PM_MRK_XFER_FROM_SRC_PMC3", 110 105 "BriefDescription": "For a marked data transfer instruction, the processor's L1 data cache was reloaded from the source specified in MMCR3[30:42]. 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." 111 106 }, 112 107 { 113 - "EventCode": "3C144", 108 + "EventCode": "0x3C144", 114 109 "EventName": "PM_MRK_XFER_FROM_SRC_CYC_PMC3", 115 110 "BriefDescription": "Cycles taken for a marked demand miss to reload a line from the source specified in MMCR3[30:42]." 116 111 }, 117 112 { 118 - "EventCode": "3C054", 113 + "EventCode": "0x3C054", 119 114 "EventName": "PM_DERAT_MISS_16M", 120 115 "BriefDescription": "Data ERAT Miss (Data TLB Access) page size 16M. When MMCR1[16]=0 this event counts only DERAT reloads for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 121 116 }, 122 117 { 123 - "EventCode": "3C056", 118 + "EventCode": "0x3C056", 124 119 "EventName": "PM_DTLB_MISS_64K", 125 120 "BriefDescription": "Data TLB reload (after a miss) page size 64K. When MMCR1[16]=0 this event counts only for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 126 121 }, 127 122 { 128 - "EventCode": "3C058", 123 + "EventCode": "0x3C058", 129 124 "EventName": "PM_LARX_FIN", 130 125 "BriefDescription": "Load and reserve instruction (LARX) finished. LARX and STCX are instructions used to acquire a lock." 131 126 }, 132 127 { 133 - "EventCode": "301E2", 128 + "EventCode": "0x301E2", 134 129 "EventName": "PM_MRK_ST_CMPL", 135 130 "BriefDescription": "Marked store completed and sent to nest. Note that this count excludes cache-inhibited stores." 136 131 }, 137 132 { 138 - "EventCode": "300FC", 133 + "EventCode": "0x300FC", 139 134 "EventName": "PM_DTLB_MISS", 140 135 "BriefDescription": "The DPTEG required for the load/store instruction in execution was missing from the TLB. It includes pages of all sizes for demand and prefetch activity." 141 136 }, 142 137 { 143 - "EventCode": "4D02C", 138 + "EventCode": "0x4D02C", 144 139 "EventName": "PM_PMC1_REWIND", 145 140 "BriefDescription": "The speculative event selected for PMC1 rewinds and the counter for PMC1 is not charged." 146 141 }, 147 142 { 148 - "EventCode": "4003E", 143 + "EventCode": "0x4003E", 149 144 "EventName": "PM_LD_CMPL", 150 145 "BriefDescription": "Loads completed." 151 146 }, 152 147 { 153 - "EventCode": "4C040", 148 + "EventCode": "0x4C040", 154 149 "EventName": "PM_XFER_FROM_SRC_PMC4", 155 150 "BriefDescription": "The processor's L1 data cache was reloaded from the source specified in MMCR3[45:57]. 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." 156 151 }, 157 152 { 158 - "EventCode": "4C142", 153 + "EventCode": "0x4C142", 159 154 "EventName": "PM_MRK_XFER_FROM_SRC_PMC4", 160 155 "BriefDescription": "For a marked data transfer instruction, the processor's L1 data cache was reloaded from the source specified in MMCR3[45:57]. 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." 161 156 }, 162 157 { 163 - "EventCode": "4C144", 158 + "EventCode": "0x4C144", 164 159 "EventName": "PM_MRK_XFER_FROM_SRC_CYC_PMC4", 165 160 "BriefDescription": "Cycles taken for a marked demand miss to reload a line from the source specified in MMCR3[45:57]." 166 161 }, 167 162 { 168 - "EventCode": "4C056", 163 + "EventCode": "0x4C056", 169 164 "EventName": "PM_DTLB_MISS_16M", 170 165 "BriefDescription": "Data TLB reload (after a miss) page size 16M. When MMCR1[16]=0 this event counts only for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 171 166 }, 172 167 { 173 - "EventCode": "4C05A", 168 + "EventCode": "0x4C05A", 174 169 "EventName": "PM_DTLB_MISS_1G", 175 170 "BriefDescription": "Data TLB reload (after a miss) page size 1G. Implies radix translation was used. When MMCR1[16]=0 this event counts only for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 176 171 }, 177 172 { 178 - "EventCode": "4C15E", 173 + "EventCode": "0x4C15E", 179 174 "EventName": "PM_MRK_DTLB_MISS_64K", 180 175 "BriefDescription": "Marked Data TLB reload (after a miss) page size 64K. When MMCR1[16]=0 this event counts only for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 181 176 }, 182 177 { 183 - "EventCode": "4D056", 178 + "EventCode": "0x4D056", 184 179 "EventName": "PM_NON_FMA_FLOP_CMPL", 185 180 "BriefDescription": "Non FMA instruction completed." 186 181 }, 187 182 { 188 - "EventCode": "40164", 183 + "EventCode": "0x40164", 189 184 "EventName": "PM_MRK_DERAT_MISS_2M", 190 185 "BriefDescription": "Data ERAT Miss (Data TLB Access) page size 2M for a marked instruction. When MMCR1[16]=0 this event counts only DERAT reloads for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 191 186 }
+54 -79
tools/perf/pmu-events/arch/powerpc/power10/others.json
··· 1 1 [ 2 2 { 3 - "EventCode": "10016", 3 + "EventCode": "0x10016", 4 4 "EventName": "PM_VSU0_ISSUE", 5 5 "BriefDescription": "VSU instructions issued to VSU pipe 0." 6 6 }, 7 7 { 8 - "EventCode": "1001C", 8 + "EventCode": "0x1001C", 9 9 "EventName": "PM_ULTRAVISOR_INST_CMPL", 10 10 "BriefDescription": "PowerPC instructions that completed while the thread was in ultravisor state." 11 11 }, 12 12 { 13 - "EventCode": "100F0", 13 + "EventCode": "0x100F0", 14 14 "EventName": "PM_CYC", 15 15 "BriefDescription": "Processor cycles." 16 16 }, 17 17 { 18 - "EventCode": "10134", 18 + "EventCode": "0x10134", 19 19 "EventName": "PM_MRK_ST_DONE_L2", 20 20 "BriefDescription": "Marked stores completed in L2 (RC machine done)." 21 21 }, 22 22 { 23 - "EventCode": "1505E", 23 + "EventCode": "0x1505E", 24 24 "EventName": "PM_LD_HIT_L1", 25 25 "BriefDescription": "Loads that finished without experiencing an L1 miss." 26 26 }, 27 27 { 28 - "EventCode": "1D05E", 29 - "EventName": "PM_DISP_STALL_HELD_HALT_CYC", 30 - "BriefDescription": "Cycles in which the NTC instruction is held at dispatch because of power management." 31 - }, 32 - { 33 - "EventCode": "1E054", 34 - "EventName": "PM_EXEC_STALL_DMISS_L21_L31", 35 - "BriefDescription": "Cycles in which the oldest instruction in the pipeline was waiting for a load miss to resolve from another core's L2 or L3 on the same chip." 36 - }, 37 - { 38 - "EventCode": "1E05A", 39 - "EventName": "PM_CMPL_STALL_LWSYNC", 40 - "BriefDescription": "Cycles in which the oldest instruction in the pipeline was a lwsync waiting to complete." 41 - }, 42 - { 43 - "EventCode": "1F056", 28 + "EventCode": "0x1F056", 44 29 "EventName": "PM_DISP_SS0_2_INSTR_CYC", 45 30 "BriefDescription": "Cycles in which Superslice 0 dispatches either 1 or 2 instructions." 46 31 }, 47 32 { 48 - "EventCode": "1F15C", 33 + "EventCode": "0x1F15C", 49 34 "EventName": "PM_MRK_STCX_L2_CYC", 50 35 "BriefDescription": "Cycles spent in the nest portion of a marked Stcx instruction. It starts counting when the operation starts to drain to the L2 and it stops counting when the instruction retires from the Instruction Completion Table (ICT) in the Instruction Sequencing Unit (ISU)." 51 36 }, 52 37 { 53 - "EventCode": "10066", 38 + "EventCode": "0x10066", 54 39 "EventName": "PM_ADJUNCT_CYC", 55 40 "BriefDescription": "Cycles in which the thread is in Adjunct state. MSR[S HV PR] bits = 011." 56 41 }, 57 42 { 58 - "EventCode": "101E4", 43 + "EventCode": "0x101E4", 59 44 "EventName": "PM_MRK_L1_ICACHE_MISS", 60 45 "BriefDescription": "Marked Instruction suffered an icache Miss." 61 46 }, 62 47 { 63 - "EventCode": "101EA", 48 + "EventCode": "0x101EA", 64 49 "EventName": "PM_MRK_L1_RELOAD_VALID", 65 50 "BriefDescription": "Marked demand reload." 66 51 }, 67 52 { 68 - "EventCode": "100F4", 53 + "EventCode": "0x100F4", 69 54 "EventName": "PM_FLOP_CMPL", 70 55 "BriefDescription": "Floating Point Operations Completed. Includes any type. It counts once for each 1, 2, 4 or 8 flop instruction. Use PM_1|2|4|8_FLOP_CMPL events to count flops." 71 56 }, 72 57 { 73 - "EventCode": "100FA", 58 + "EventCode": "0x100FA", 74 59 "EventName": "PM_RUN_LATCH_ANY_THREAD_CYC", 75 60 "BriefDescription": "Cycles when at least one thread has the run latch set." 76 61 }, 77 62 { 78 - "EventCode": "100FC", 63 + "EventCode": "0x100FC", 79 64 "EventName": "PM_LD_REF_L1", 80 65 "BriefDescription": "All L1 D cache load references counted at finish, gated by reject. In P9 and earlier this event counted only cacheable loads but in P10 both cacheable and non-cacheable loads are included." 81 66 }, 82 67 { 83 - "EventCode": "20006", 84 - "EventName": "PM_DISP_STALL_HELD_ISSQ_FULL_CYC", 85 - "BriefDescription": "Cycles in which the NTC instruction is held at dispatch due to Issue queue full. Includes issue queue and branch queue." 86 - }, 87 - { 88 - "EventCode": "2000C", 68 + "EventCode": "0x2000C", 89 69 "EventName": "PM_RUN_LATCH_ALL_THREADS_CYC", 90 70 "BriefDescription": "Cycles when the run latch is set for all threads." 91 71 }, 92 72 { 93 - "EventCode": "2E010", 73 + "EventCode": "0x2E010", 94 74 "EventName": "PM_ADJUNCT_INST_CMPL", 95 75 "BriefDescription": "PowerPC instructions that completed while the thread is in Adjunct state." 96 76 }, 97 77 { 98 - "EventCode": "2E014", 78 + "EventCode": "0x2E014", 99 79 "EventName": "PM_STCX_FIN", 100 80 "BriefDescription": "Conditional store instruction (STCX) finished. LARX and STCX are instructions used to acquire a lock." 101 81 }, 102 82 { 103 - "EventCode": "20130", 83 + "EventCode": "0x20130", 104 84 "EventName": "PM_MRK_INST_DECODED", 105 85 "BriefDescription": "An instruction was marked at decode time. Random Instruction Sampling (RIS) only." 106 86 }, 107 87 { 108 - "EventCode": "20132", 88 + "EventCode": "0x20132", 109 89 "EventName": "PM_MRK_DFU_ISSUE", 110 90 "BriefDescription": "The marked instruction was a decimal floating point operation issued to the VSU. Measured at issue time." 111 91 }, 112 92 { 113 - "EventCode": "20134", 93 + "EventCode": "0x20134", 114 94 "EventName": "PM_MRK_FXU_ISSUE", 115 95 "BriefDescription": "The marked instruction was a fixed point operation issued to the VSU. Measured at issue time." 116 96 }, 117 97 { 118 - "EventCode": "2505C", 98 + "EventCode": "0x2505C", 119 99 "EventName": "PM_VSU_ISSUE", 120 100 "BriefDescription": "At least one VSU instruction was issued to one of the VSU pipes. Up to 4 per cycle. Includes fixed point operations." 121 101 }, 122 102 { 123 - "EventCode": "2F054", 103 + "EventCode": "0x2F054", 124 104 "EventName": "PM_DISP_SS1_2_INSTR_CYC", 125 105 "BriefDescription": "Cycles in which Superslice 1 dispatches either 1 or 2 instructions." 126 106 }, 127 107 { 128 - "EventCode": "2F056", 108 + "EventCode": "0x2F056", 129 109 "EventName": "PM_DISP_SS1_4_INSTR_CYC", 130 110 "BriefDescription": "Cycles in which Superslice 1 dispatches either 3 or 4 instructions." 131 111 }, 132 112 { 133 - "EventCode": "2006C", 113 + "EventCode": "0x2006C", 134 114 "EventName": "PM_RUN_CYC_SMT4_MODE", 135 115 "BriefDescription": "Cycles when this thread's run latch is set and the core is in SMT4 mode." 136 116 }, 137 117 { 138 - "EventCode": "201E0", 118 + "EventCode": "0x201E0", 139 119 "EventName": "PM_MRK_DATA_FROM_MEMORY", 140 120 "BriefDescription": "The processor's data cache was reloaded from local, remote, or distant memory due to a demand miss for a marked load." 141 121 }, 142 122 { 143 - "EventCode": "201E4", 123 + "EventCode": "0x201E4", 144 124 "EventName": "PM_MRK_DATA_FROM_L3MISS", 145 125 "BriefDescription": "The processor's data cache was reloaded from a source other than the local core's L1, L2, or L3 due to a demand miss for a marked load." 146 126 }, 147 127 { 148 - "EventCode": "201E8", 128 + "EventCode": "0x201E8", 149 129 "EventName": "PM_THRESH_EXC_512", 150 130 "BriefDescription": "Threshold counter exceeded a value of 512." 151 131 }, 152 132 { 153 - "EventCode": "200F2", 133 + "EventCode": "0x200F2", 154 134 "EventName": "PM_INST_DISP", 155 135 "BriefDescription": "PowerPC instructions dispatched." 156 136 }, 157 137 { 158 - "EventCode": "30132", 138 + "EventCode": "0x30132", 159 139 "EventName": "PM_MRK_VSU_FIN", 160 140 "BriefDescription": "VSU marked instructions finished. Excludes simple FX instructions issued to the Store Unit." 161 141 }, 162 142 { 163 - "EventCode": "30038", 143 + "EventCode": "0x30038", 164 144 "EventName": "PM_EXEC_STALL_DMISS_LMEM", 165 145 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was waiting for a load miss to resolve from the local memory, local OpenCapp cache, or local OpenCapp memory." 166 146 }, 167 147 { 168 - "EventCode": "3F04A", 148 + "EventCode": "0x3F04A", 169 149 "EventName": "PM_LSU_ST5_FIN", 170 150 "BriefDescription": "LSU Finished an internal operation in ST2 port." 171 151 }, 172 152 { 173 - "EventCode": "34054", 174 - "EventName": "PM_EXEC_STALL_DMISS_L2L3_NOCONFLICT", 175 - "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, without a dispatch conflict." 176 - }, 177 - { 178 - "EventCode": "3405A", 153 + "EventCode": "0x3405A", 179 154 "EventName": "PM_PRIVILEGED_INST_CMPL", 180 155 "BriefDescription": "PowerPC Instructions that completed while the thread is in Privileged state." 181 156 }, 182 157 { 183 - "EventCode": "3F150", 158 + "EventCode": "0x3F150", 184 159 "EventName": "PM_MRK_ST_DRAIN_CYC", 185 160 "BriefDescription": "cycles to drain st from core to L2." 186 161 }, 187 162 { 188 - "EventCode": "3F054", 163 + "EventCode": "0x3F054", 189 164 "EventName": "PM_DISP_SS0_4_INSTR_CYC", 190 165 "BriefDescription": "Cycles in which Superslice 0 dispatches either 3 or 4 instructions." 191 166 }, 192 167 { 193 - "EventCode": "3F056", 168 + "EventCode": "0x3F056", 194 169 "EventName": "PM_DISP_SS0_8_INSTR_CYC", 195 170 "BriefDescription": "Cycles in which Superslice 0 dispatches either 5, 6, 7 or 8 instructions." 196 171 }, 197 172 { 198 - "EventCode": "30162", 173 + "EventCode": "0x30162", 199 174 "EventName": "PM_MRK_ISSUE_DEPENDENT_LOAD", 200 175 "BriefDescription": "The marked instruction was dependent on a load. It is eligible for issue kill." 201 176 }, 202 177 { 203 - "EventCode": "40114", 178 + "EventCode": "0x40114", 204 179 "EventName": "PM_MRK_START_PROBE_NOP_DISP", 205 180 "BriefDescription": "Marked Start probe nop dispatched. Instruction AND R0,R0,R0." 206 181 }, 207 182 { 208 - "EventCode": "4001C", 183 + "EventCode": "0x4001C", 209 184 "EventName": "PM_VSU_FIN", 210 185 "BriefDescription": "VSU instructions finished." 211 186 }, 212 187 { 213 - "EventCode": "4C01A", 188 + "EventCode": "0x4C01A", 214 189 "EventName": "PM_EXEC_STALL_DMISS_OFF_NODE", 215 190 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was waiting for a load miss to resolve from a distant chip." 216 191 }, 217 192 { 218 - "EventCode": "4D012", 193 + "EventCode": "0x4D012", 219 194 "EventName": "PM_PMC3_SAVED", 220 195 "BriefDescription": "The conditions for the speculative event selected for PMC3 are met and PMC3 is charged." 221 196 }, 222 197 { 223 - "EventCode": "4D022", 198 + "EventCode": "0x4D022", 224 199 "EventName": "PM_HYPERVISOR_INST_CMPL", 225 200 "BriefDescription": "PowerPC instructions that completed while the thread is in hypervisor state." 226 201 }, 227 202 { 228 - "EventCode": "4D026", 203 + "EventCode": "0x4D026", 229 204 "EventName": "PM_ULTRAVISOR_CYC", 230 205 "BriefDescription": "Cycles when the thread is in Ultravisor state. MSR[S HV PR]=110." 231 206 }, 232 207 { 233 - "EventCode": "4D028", 208 + "EventCode": "0x4D028", 234 209 "EventName": "PM_PRIVILEGED_CYC", 235 210 "BriefDescription": "Cycles when the thread is in Privileged state. MSR[S HV PR]=x00." 236 211 }, 237 212 { 238 - "EventCode": "40030", 213 + "EventCode": "0x40030", 239 214 "EventName": "PM_INST_FIN", 240 215 "BriefDescription": "Instructions finished." 241 216 }, 242 217 { 243 - "EventCode": "44146", 218 + "EventCode": "0x44146", 244 219 "EventName": "PM_MRK_STCX_CORE_CYC", 245 220 "BriefDescription": "Cycles spent in the core portion of a marked Stcx instruction. It starts counting when the instruction is decoded and stops counting when it drains into the L2." 246 221 }, 247 222 { 248 - "EventCode": "44054", 223 + "EventCode": "0x44054", 249 224 "EventName": "PM_VECTOR_LD_CMPL", 250 225 "BriefDescription": "Vector load instructions completed." 251 226 }, 252 227 { 253 - "EventCode": "45054", 228 + "EventCode": "0x45054", 254 229 "EventName": "PM_FMA_CMPL", 255 230 "BriefDescription": "Two floating point instructions completed (FMA class of instructions: fmadd, fnmadd, fmsub, fnmsub). Scalar instructions only." 256 231 }, 257 232 { 258 - "EventCode": "45056", 233 + "EventCode": "0x45056", 259 234 "EventName": "PM_SCALAR_FLOP_CMPL", 260 235 "BriefDescription": "Scalar floating point instructions completed." 261 236 }, 262 237 { 263 - "EventCode": "4505C", 238 + "EventCode": "0x4505C", 264 239 "EventName": "PM_MATH_FLOP_CMPL", 265 240 "BriefDescription": "Math floating point instructions completed." 266 241 }, 267 242 { 268 - "EventCode": "4D05E", 243 + "EventCode": "0x4D05E", 269 244 "EventName": "PM_BR_CMPL", 270 245 "BriefDescription": "A branch completed. All branches are included." 271 246 }, 272 247 { 273 - "EventCode": "4E15E", 248 + "EventCode": "0x4E15E", 274 249 "EventName": "PM_MRK_INST_FLUSHED", 275 250 "BriefDescription": "The marked instruction was flushed." 276 251 }, 277 252 { 278 - "EventCode": "401E6", 253 + "EventCode": "0x401E6", 279 254 "EventName": "PM_MRK_INST_FROM_L3MISS", 280 255 "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 for a marked instruction." 281 256 }, 282 257 { 283 - "EventCode": "401E8", 258 + "EventCode": "0x401E8", 284 259 "EventName": "PM_MRK_DATA_FROM_L2MISS", 285 260 "BriefDescription": "The processor's data cache was reloaded from a source other than the local core's L1 or L2 due to a demand miss for a marked load." 286 261 }, 287 262 { 288 - "EventCode": "400F0", 263 + "EventCode": "0x400F0", 289 264 "EventName": "PM_LD_DEMAND_MISS_L1_FIN", 290 265 "BriefDescription": "Load Missed L1, counted at finish time." 291 266 }, 292 267 { 293 - "EventCode": "400FA", 268 + "EventCode": "0x400FA", 294 269 "EventName": "PM_RUN_INST_CMPL", 295 270 "BriefDescription": "Completed PowerPC instructions gated by the run latch." 296 271 }
+66 -71
tools/perf/pmu-events/arch/powerpc/power10/pipeline.json
··· 1 1 [ 2 2 { 3 - "EventCode": "100FE", 3 + "EventCode": "0x100FE", 4 4 "EventName": "PM_INST_CMPL", 5 5 "BriefDescription": "PowerPC instructions completed." 6 6 }, 7 7 { 8 - "EventCode": "10006", 9 - "EventName": "PM_DISP_STALL_HELD_OTHER_CYC", 10 - "BriefDescription": "Cycles in which the NTC instruction is held at dispatch for any other reason." 11 - }, 12 - { 13 - "EventCode": "1000C", 8 + "EventCode": "0x1000C", 14 9 "EventName": "PM_LSU_LD0_FIN", 15 10 "BriefDescription": "LSU Finished an internal operation in LD0 port." 16 11 }, 17 12 { 18 - "EventCode": "1000E", 13 + "EventCode": "0x1000E", 19 14 "EventName": "PM_MMA_ISSUED", 20 15 "BriefDescription": "MMA instructions issued." 21 16 }, 22 17 { 23 - "EventCode": "10012", 18 + "EventCode": "0x10012", 24 19 "EventName": "PM_LSU_ST0_FIN", 25 20 "BriefDescription": "LSU Finished an internal operation in ST0 port." 26 21 }, 27 22 { 28 - "EventCode": "10014", 23 + "EventCode": "0x10014", 29 24 "EventName": "PM_LSU_ST4_FIN", 30 25 "BriefDescription": "LSU Finished an internal operation in ST4 port." 31 26 }, 32 27 { 33 - "EventCode": "10018", 28 + "EventCode": "0x10018", 34 29 "EventName": "PM_IC_DEMAND_CYC", 35 30 "BriefDescription": "Cycles in which an instruction reload is pending to satisfy a demand miss." 36 31 }, 37 32 { 38 - "EventCode": "10022", 33 + "EventCode": "0x10022", 39 34 "EventName": "PM_PMC2_SAVED", 40 35 "BriefDescription": "The conditions for the speculative event selected for PMC2 are met and PMC2 is charged." 41 36 }, 42 37 { 43 - "EventCode": "10024", 38 + "EventCode": "0x10024", 44 39 "EventName": "PM_PMC5_OVERFLOW", 45 40 "BriefDescription": "The event selected for PMC5 caused the event counter to overflow." 46 41 }, 47 42 { 48 - "EventCode": "10058", 43 + "EventCode": "0x10058", 49 44 "EventName": "PM_EXEC_STALL_FIN_AT_DISP", 50 45 "BriefDescription": "Cycles in which the oldest instruction in the pipeline finished at dispatch and did not require execution in the LSU, BRU or VSU." 51 46 }, 52 47 { 53 - "EventCode": "1005A", 48 + "EventCode": "0x1005A", 54 49 "EventName": "PM_FLUSH_MPRED", 55 50 "BriefDescription": "A flush occurred due to a mispredicted branch. Includes target and direction." 56 51 }, 57 52 { 58 - "EventCode": "1C05A", 53 + "EventCode": "0x1C05A", 59 54 "EventName": "PM_DERAT_MISS_2M", 60 55 "BriefDescription": "Data ERAT Miss (Data TLB Access) page size 2M. Implies radix translation. When MMCR1[16]=0 this event counts only DERAT reloads for demand misses. When MMCR1[16]=1 this event includes demand misses and prefetches." 61 56 }, 62 57 { 63 - "EventCode": "10064", 64 - "EventName": "PM_DISP_STALL_IC_L2", 65 - "BriefDescription": "Cycles when dispatch was stalled while the instruction was fetched from the local L2." 58 + "EventCode": "0x1E05A", 59 + "EventName": "PM_CMPL_STALL_LWSYNC", 60 + "BriefDescription": "Cycles in which the oldest instruction in the pipeline was a lwsync waiting to complete." 66 61 }, 67 62 { 68 - "EventCode": "10068", 63 + "EventCode": "0x10068", 69 64 "EventName": "PM_BR_FIN", 70 65 "BriefDescription": "A branch instruction finished. Includes predicted/mispredicted/unconditional." 71 66 }, 72 67 { 73 - "EventCode": "1006A", 68 + "EventCode": "0x1006A", 74 69 "EventName": "PM_FX_LSU_FIN", 75 70 "BriefDescription": "Simple fixed point instruction issued to the store unit. Measured at finish time." 76 71 }, 77 72 { 78 - "EventCode": "1006C", 73 + "EventCode": "0x1006C", 79 74 "EventName": "PM_RUN_CYC_ST_MODE", 80 75 "BriefDescription": "Cycles when the run latch is set and the core is in ST mode." 81 76 }, 82 77 { 83 - "EventCode": "20004", 78 + "EventCode": "0x20004", 84 79 "EventName": "PM_ISSUE_STALL", 85 80 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was dispatched but not issued yet." 86 81 }, 87 82 { 88 - "EventCode": "2000A", 83 + "EventCode": "0x2000A", 89 84 "EventName": "PM_HYPERVISOR_CYC", 90 85 "BriefDescription": "Cycles when the thread is in Hypervisor state. MSR[S HV PR]=010." 91 86 }, 92 87 { 93 - "EventCode": "2000E", 88 + "EventCode": "0x2000E", 94 89 "EventName": "PM_LSU_LD1_FIN", 95 90 "BriefDescription": "LSU Finished an internal operation in LD1 port." 96 91 }, 97 92 { 98 - "EventCode": "2C014", 93 + "EventCode": "0x2C014", 99 94 "EventName": "PM_CMPL_STALL_SPECIAL", 100 95 "BriefDescription": "Cycles in which the oldest instruction in the pipeline required special handling before completing." 101 96 }, 102 97 { 103 - "EventCode": "2C018", 98 + "EventCode": "0x2C018", 104 99 "EventName": "PM_EXEC_STALL_DMISS_L3MISS", 105 100 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was waiting for a load miss to resolve from a source beyond the local L2 or local L3." 106 101 }, 107 102 { 108 - "EventCode": "2D010", 103 + "EventCode": "0x2D010", 109 104 "EventName": "PM_LSU_ST1_FIN", 110 105 "BriefDescription": "LSU Finished an internal operation in ST1 port." 111 106 }, 112 107 { 113 - "EventCode": "2D012", 108 + "EventCode": "0x2D012", 114 109 "EventName": "PM_VSU1_ISSUE", 115 110 "BriefDescription": "VSU instructions issued to VSU pipe 1." 116 111 }, 117 112 { 118 - "EventCode": "2D018", 113 + "EventCode": "0x2D018", 119 114 "EventName": "PM_EXEC_STALL_VSU", 120 115 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was executing in the VSU (includes FXU, VSU, CRU)." 121 116 }, 122 117 { 123 - "EventCode": "2E01E", 124 - "EventName": "PM_EXEC_STALL_NTC_FLUSH", 125 - "BriefDescription": "Cycles in which the oldest instruction in the pipeline was executing in any unit before it was flushed. Note that if the flush of the oldest instruction happens after finish, the cycles from dispatch to issue will be included in PM_DISP_STALL and the cycles from issue to finish will be included in PM_EXEC_STALL and its corresponding children." 118 + "EventCode": "0x2D01C", 119 + "EventName": "PM_CMPL_STALL_STCX", 120 + "BriefDescription": "Cycles in which the oldest instruction in the pipeline was a stcx waiting for resolution from the nest before completing." 126 121 }, 127 122 { 128 - "EventCode": "2013C", 123 + "EventCode": "0x2E01E", 124 + "EventName": "PM_EXEC_STALL_NTC_FLUSH", 125 + "BriefDescription": "Cycles in which the oldest instruction in the pipeline was executing in any unit before it was flushed. Note that if the flush of the oldest instruction happens after finish, the cycles from dispatch to issue will be included in PM_DISP_STALL and the cycles from issue to finish will be included in PM_EXEC_STALL and its corresponding children. This event will also count cycles when the previous NTF instruction is still completing and the new NTF instruction is stalled at dispatch." 126 + }, 127 + { 128 + "EventCode": "0x2013C", 129 129 "EventName": "PM_MRK_FX_LSU_FIN", 130 130 "BriefDescription": "The marked instruction was simple fixed point that was issued to the store unit. Measured at finish time." 131 131 }, 132 132 { 133 - "EventCode": "2405A", 133 + "EventCode": "0x2405A", 134 134 "EventName": "PM_NTC_FIN", 135 135 "BriefDescription": "Cycles in which the oldest instruction in the pipeline (NTC) finishes. Note that instructions can finish out of order, therefore not all the instructions that finish have a Next-to-complete status." 136 136 }, 137 137 { 138 - "EventCode": "201E2", 138 + "EventCode": "0x201E2", 139 139 "EventName": "PM_MRK_LD_MISS_L1", 140 140 "BriefDescription": "Marked DL1 Demand Miss counted at finish time." 141 141 }, 142 142 { 143 - "EventCode": "200F4", 143 + "EventCode": "0x200F4", 144 144 "EventName": "PM_RUN_CYC", 145 145 "BriefDescription": "Processor cycles gated by the run latch." 146 146 }, 147 147 { 148 - "EventCode": "30004", 149 - "EventName": "PM_DISP_STALL_FLUSH", 150 - "BriefDescription": "Cycles when dispatch was stalled because of a flush that happened to an instruction(s) that was not yet NTC. PM_EXEC_STALL_NTC_FLUSH only includes instructions that were flushed after becoming NTC." 151 - }, 152 - { 153 - "EventCode": "30008", 148 + "EventCode": "0x30008", 154 149 "EventName": "PM_EXEC_STALL", 155 150 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was waiting to finish in one of the execution units (BRU, LSU, VSU). Only cycles between issue and finish are counted in this category." 156 151 }, 157 152 { 158 - "EventCode": "3001A", 153 + "EventCode": "0x3001A", 159 154 "EventName": "PM_LSU_ST2_FIN", 160 155 "BriefDescription": "LSU Finished an internal operation in ST2 port." 161 156 }, 162 157 { 163 - "EventCode": "30020", 158 + "EventCode": "0x30020", 164 159 "EventName": "PM_PMC2_REWIND", 165 160 "BriefDescription": "The speculative event selected for PMC2 rewinds and the counter for PMC2 is not charged." 166 161 }, 167 162 { 168 - "EventCode": "30022", 163 + "EventCode": "0x30022", 169 164 "EventName": "PM_PMC4_SAVED", 170 165 "BriefDescription": "The conditions for the speculative event selected for PMC4 are met and PMC4 is charged." 171 166 }, 172 167 { 173 - "EventCode": "30024", 168 + "EventCode": "0x30024", 174 169 "EventName": "PM_PMC6_OVERFLOW", 175 170 "BriefDescription": "The event selected for PMC6 caused the event counter to overflow." 176 171 }, 177 172 { 178 - "EventCode": "30028", 173 + "EventCode": "0x30028", 179 174 "EventName": "PM_CMPL_STALL_MEM_ECC", 180 175 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was waiting for the non-speculative finish of either a stcx waiting for its result or a load waiting for non-critical sectors of data and ECC." 181 176 }, 182 177 { 183 - "EventCode": "30036", 178 + "EventCode": "0x30036", 184 179 "EventName": "PM_EXEC_STALL_SIMPLE_FX", 185 180 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was a simple fixed point instruction executing in the Load Store Unit." 186 181 }, 187 182 { 188 - "EventCode": "3003A", 183 + "EventCode": "0x3003A", 189 184 "EventName": "PM_CMPL_STALL_EXCEPTION", 190 185 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was not allowed to complete because it was interrupted by ANY exception, which has to be serviced before the instruction can complete." 191 186 }, 192 187 { 193 - "EventCode": "3F044", 188 + "EventCode": "0x3F044", 194 189 "EventName": "PM_VSU2_ISSUE", 195 190 "BriefDescription": "VSU instructions issued to VSU pipe 2." 196 191 }, 197 192 { 198 - "EventCode": "30058", 193 + "EventCode": "0x30058", 199 194 "EventName": "PM_TLBIE_FIN", 200 195 "BriefDescription": "TLBIE instructions finished in the LSU. Two TLBIEs can finish each cycle. All will be counted." 201 196 }, 202 197 { 203 - "EventCode": "3D058", 198 + "EventCode": "0x3D058", 204 199 "EventName": "PM_SCALAR_FSQRT_FDIV_ISSUE", 205 200 "BriefDescription": "Scalar versions of four floating point operations: fdiv,fsqrt (xvdivdp, xvdivsp, xvsqrtdp, xvsqrtsp)." 206 201 }, 207 202 { 208 - "EventCode": "30066", 203 + "EventCode": "0x30066", 209 204 "EventName": "PM_LSU_FIN", 210 205 "BriefDescription": "LSU Finished an internal operation (up to 4 per cycle)." 211 206 }, 212 207 { 213 - "EventCode": "40004", 208 + "EventCode": "0x40004", 214 209 "EventName": "PM_FXU_ISSUE", 215 210 "BriefDescription": "A fixed point instruction was issued to the VSU." 216 211 }, 217 212 { 218 - "EventCode": "40008", 213 + "EventCode": "0x40008", 219 214 "EventName": "PM_NTC_ALL_FIN", 220 215 "BriefDescription": "Cycles in which both instructions in the ICT entry pair show as finished. These are the cycles between finish and completion for the oldest pair of instructions in the pipeline." 221 216 }, 222 217 { 223 - "EventCode": "40010", 218 + "EventCode": "0x40010", 224 219 "EventName": "PM_PMC3_OVERFLOW", 225 220 "BriefDescription": "The event selected for PMC3 caused the event counter to overflow." 226 221 }, 227 222 { 228 - "EventCode": "4C012", 223 + "EventCode": "0x4C012", 229 224 "EventName": "PM_EXEC_STALL_DERAT_ONLY_MISS", 230 225 "BriefDescription": "Cycles in which the oldest instruction in the pipeline suffered an ERAT miss and waited for it resolve." 231 226 }, 232 227 { 233 - "EventCode": "4C018", 228 + "EventCode": "0x4C018", 234 229 "EventName": "PM_CMPL_STALL", 235 230 "BriefDescription": "Cycles in which the oldest instruction in the pipeline cannot complete because the thread was blocked for any reason." 236 231 }, 237 232 { 238 - "EventCode": "4C01E", 233 + "EventCode": "0x4C01E", 239 234 "EventName": "PM_LSU_ST3_FIN", 240 235 "BriefDescription": "LSU Finished an internal operation in ST3 port." 241 236 }, 242 237 { 243 - "EventCode": "4D018", 238 + "EventCode": "0x4D018", 244 239 "EventName": "PM_EXEC_STALL_BRU", 245 240 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was executing in the Branch unit." 246 241 }, 247 242 { 248 - "EventCode": "4D01A", 243 + "EventCode": "0x4D01A", 249 244 "EventName": "PM_CMPL_STALL_HWSYNC", 250 245 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was a hwsync waiting for response from L2 before completing." 251 246 }, 252 247 { 253 - "EventCode": "4D01C", 248 + "EventCode": "0x4D01C", 254 249 "EventName": "PM_EXEC_STALL_TLBIEL", 255 250 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was a TLBIEL instruction executing in the Load Store Unit. TLBIEL instructions have lower overhead than TLBIE instructions because they don't get set to the nest." 256 251 }, 257 252 { 258 - "EventCode": "4E012", 253 + "EventCode": "0x4E012", 259 254 "EventName": "PM_EXEC_STALL_UNKNOWN", 260 255 "BriefDescription": "Cycles in which the oldest instruction in the pipeline completed without an ntf_type pulse. The ntf_pulse was missed by the ISU because the NTF finishes and completions came too close together." 261 256 }, 262 257 { 263 - "EventCode": "4D020", 258 + "EventCode": "0x4D020", 264 259 "EventName": "PM_VSU3_ISSUE", 265 260 "BriefDescription": "VSU instruction was issued to VSU pipe 3." 266 261 }, 267 262 { 268 - "EventCode": "40132", 263 + "EventCode": "0x40132", 269 264 "EventName": "PM_MRK_LSU_FIN", 270 265 "BriefDescription": "LSU marked instruction finish." 271 266 }, 272 267 { 273 - "EventCode": "45058", 268 + "EventCode": "0x45058", 274 269 "EventName": "PM_IC_MISS_CMPL", 275 270 "BriefDescription": "Non-speculative icache miss, counted at completion." 276 271 }, 277 272 { 278 - "EventCode": "4D050", 273 + "EventCode": "0x4D050", 279 274 "EventName": "PM_VSU_NON_FLOP_CMPL", 280 275 "BriefDescription": "Non-floating point VSU instructions completed." 281 276 }, 282 277 { 283 - "EventCode": "4D052", 278 + "EventCode": "0x4D052", 284 279 "EventName": "PM_2FLOP_CMPL", 285 280 "BriefDescription": "Double Precision vector version of fmul, fsub, fcmp, fsel, fabs, fnabs, fres, fsqrte, fneg completed." 286 281 }, 287 282 { 288 - "EventCode": "400F2", 283 + "EventCode": "0x400F2", 289 284 "EventName": "PM_1PLUS_PPC_DISP", 290 285 "BriefDescription": "Cycles at least one Instr Dispatched." 291 286 }, 292 287 { 293 - "EventCode": "400F8", 288 + "EventCode": "0x400F8", 294 289 "EventName": "PM_FLUSH", 295 290 "BriefDescription": "Flush (any type)." 296 291 }
+4 -4
tools/perf/pmu-events/arch/powerpc/power10/pmc.json
··· 1 1 [ 2 2 { 3 - "EventCode": "301E8", 3 + "EventCode": "0x301E8", 4 4 "EventName": "PM_THRESH_EXC_64", 5 5 "BriefDescription": "Threshold counter exceeded a value of 64." 6 6 }, 7 7 { 8 - "EventCode": "45050", 8 + "EventCode": "0x45050", 9 9 "EventName": "PM_1FLOP_CMPL", 10 10 "BriefDescription": "One floating point instruction completed (fadd, fmul, fsub, fcmp, fsel, fabs, fnabs, fres, fsqrte, fneg)." 11 11 }, 12 12 { 13 - "EventCode": "45052", 13 + "EventCode": "0x45052", 14 14 "EventName": "PM_4FLOP_CMPL", 15 15 "BriefDescription": "Four floating point instructions completed (fadd, fmul, fsub, fcmp, fsel, fabs, fnabs, fres, fsqrte, fneg)." 16 16 }, 17 17 { 18 - "EventCode": "4D054", 18 + "EventCode": "0x4D054", 19 19 "EventName": "PM_8FLOP_CMPL", 20 20 "BriefDescription": "Four Double Precision vector instructions completed." 21 21 }
+11 -11
tools/perf/pmu-events/arch/powerpc/power10/translation.json
··· 1 1 [ 2 2 { 3 - "EventCode": "1F15E", 3 + "EventCode": "0x1F15E", 4 4 "EventName": "PM_MRK_START_PROBE_NOP_CMPL", 5 5 "BriefDescription": "Marked Start probe nop (AND R0,R0,R0) completed." 6 6 }, 7 7 { 8 - "EventCode": "20016", 8 + "EventCode": "0x20016", 9 9 "EventName": "PM_ST_FIN", 10 10 "BriefDescription": "Store finish count. Includes speculative activity." 11 11 }, 12 12 { 13 - "EventCode": "20018", 13 + "EventCode": "0x20018", 14 14 "EventName": "PM_ST_FWD", 15 15 "BriefDescription": "Store forwards that finished." 16 16 }, 17 17 { 18 - "EventCode": "2011C", 18 + "EventCode": "0x2011C", 19 19 "EventName": "PM_MRK_NTF_CYC", 20 20 "BriefDescription": "Cycles during which the marked instruction is the oldest in the pipeline (NTF or NTC)." 21 21 }, 22 22 { 23 - "EventCode": "2E01C", 23 + "EventCode": "0x2E01C", 24 24 "EventName": "PM_EXEC_STALL_TLBIE", 25 25 "BriefDescription": "Cycles in which the oldest instruction in the pipeline was a TLBIE instruction executing in the Load Store Unit." 26 26 }, 27 27 { 28 - "EventCode": "201E6", 28 + "EventCode": "0x201E6", 29 29 "EventName": "PM_THRESH_EXC_32", 30 30 "BriefDescription": "Threshold counter exceeded a value of 32." 31 31 }, 32 32 { 33 - "EventCode": "200F0", 33 + "EventCode": "0x200F0", 34 34 "EventName": "PM_ST_CMPL", 35 35 "BriefDescription": "Stores completed from S2Q (2nd-level store queue). This event includes regular stores, stcx and cache inhibited stores. The following operations are excluded (pteupdate, snoop tlbie complete, store atomics, miso, load atomic payloads, tlbie, tlbsync, slbieg, isync, msgsnd, slbiag, cpabort, copy, tcheck, tend, stsync, dcbst, icbi, dcbf, hwsync, lwsync, ptesync, eieio, msgsync)." 36 36 }, 37 37 { 38 - "EventCode": "200FE", 38 + "EventCode": "0x200FE", 39 39 "EventName": "PM_DATA_FROM_L2MISS", 40 40 "BriefDescription": "The processor's data cache was reloaded from a source other than the local core's L1 or L2 due to a demand miss." 41 41 }, 42 42 { 43 - "EventCode": "30010", 43 + "EventCode": "0x30010", 44 44 "EventName": "PM_PMC2_OVERFLOW", 45 45 "BriefDescription": "The event selected for PMC2 caused the event counter to overflow." 46 46 }, 47 47 { 48 - "EventCode": "4D010", 48 + "EventCode": "0x4D010", 49 49 "EventName": "PM_PMC1_SAVED", 50 50 "BriefDescription": "The conditions for the speculative event selected for PMC1 are met and PMC1 is charged." 51 51 }, 52 52 { 53 - "EventCode": "4D05C", 53 + "EventCode": "0x4D05C", 54 54 "EventName": "PM_DPP_FLOP_CMPL", 55 55 "BriefDescription": "Double-Precision or Quad-Precision instructions completed." 56 56 }