summaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events/arch/powerpc/power10/pmc.json
blob: 0e0253d0e757716a78ed1618a49185fc3b64454a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
[
  {
    "EventCode": "0x100FE",
    "EventName": "PM_INST_CMPL",
    "BriefDescription": "PowerPC instruction completed."
  },
  {
    "EventCode": "0x1000A",
    "EventName": "PM_PMC3_REWIND",
    "BriefDescription": "The speculative event selected for PMC3 rewinds and the counter for PMC3 is not charged."
  },
  {
    "EventCode": "0x10010",
    "EventName": "PM_PMC4_OVERFLOW",
    "BriefDescription": "The event selected for PMC4 caused the event counter to overflow."
  },
  {
    "EventCode": "0x1001C",
    "EventName": "PM_ULTRAVISOR_INST_CMPL",
    "BriefDescription": "PowerPC instruction completed while the thread was in ultravisor state."
  },
  {
    "EventCode": "0x100F0",
    "EventName": "PM_CYC",
    "BriefDescription": "Processor cycles."
  },
  {
    "EventCode": "0x10020",
    "EventName": "PM_PMC4_REWIND",
    "BriefDescription": "The speculative event selected for PMC4 rewinds and the counter for PMC4 is not charged."
  },
  {
    "EventCode": "0x10022",
    "EventName": "PM_PMC2_SAVED",
    "BriefDescription": "The conditions for the speculative event selected for PMC2 are met and PMC2 is charged."
  },
  {
    "EventCode": "0x10024",
    "EventName": "PM_PMC5_OVERFLOW",
    "BriefDescription": "The event selected for PMC5 caused the event counter to overflow."
  },
  {
    "EventCode": "0x1002A",
    "EventName": "PM_PMC3_HELD_CYC",
    "BriefDescription": "Cycles when the speculative counter for PMC3 is frozen."
  },
  {
    "EventCode": "0x1F15E",
    "EventName": "PM_MRK_START_PROBE_NOP_CMPL",
    "BriefDescription": "Marked Start probe nop (AND R0,R0,R0) completed."
  },
  {
    "EventCode": "0x1006C",
    "EventName": "PM_RUN_CYC_ST_MODE",
    "BriefDescription": "Cycles when the run latch is set and the core is in ST mode."
  },
  {
    "EventCode": "0x101E8",
    "EventName": "PM_THRESH_EXC_256",
    "BriefDescription": "Threshold counter exceeded a count of 256."
  },
  {
    "EventCode": "0x101EC",
    "EventName": "PM_THRESH_MET",
    "BriefDescription": "Threshold exceeded."
  },
  {
    "EventCode": "0x100FA",
    "EventName": "PM_RUN_LATCH_ANY_THREAD_CYC",
    "BriefDescription": "Cycles when at least one thread has the run latch set."
  },
  {
    "EventCode": "0x2000A",
    "EventName": "PM_HYPERVISOR_CYC",
    "BriefDescription": "Cycles when the thread is in Hypervisor state. MSR[S HV PR]=010."
  },
  {
    "EventCode": "0x2000C",
    "EventName": "PM_RUN_LATCH_ALL_THREADS_CYC",
    "BriefDescription": "Cycles when the run latch is set for all threads."
  },
  {
    "EventCode": "0x20010",
    "EventName": "PM_PMC1_OVERFLOW",
    "BriefDescription": "The event selected for PMC1 caused the event counter to overflow."
  },
  {
    "EventCode": "0x2006C",
    "EventName": "PM_RUN_CYC_SMT4_MODE",
    "BriefDescription": "Cycles when this thread's run latch is set and the core is in SMT4 mode."
  },
  {
    "EventCode": "0x201E6",
    "EventName": "PM_THRESH_EXC_32",
    "BriefDescription": "Threshold counter exceeded a value of 32."
  },
  {
    "EventCode": "0x201E8",
    "EventName": "PM_THRESH_EXC_512",
    "BriefDescription": "Threshold counter exceeded a value of 512."
  },
  {
    "EventCode": "0x200F4",
    "EventName": "PM_RUN_CYC",
    "BriefDescription": "Processor cycles gated by the run latch."
  },
  {
    "EventCode": "0x30010",
    "EventName": "PM_PMC2_OVERFLOW",
    "BriefDescription": "The event selected for PMC2 caused the event counter to overflow."
  },
  {
    "EventCode": "0x30020",
    "EventName": "PM_PMC2_REWIND",
    "BriefDescription": "The speculative event selected for PMC2 rewinds and the counter for PMC2 is not charged."
  },
  {
    "EventCode": "0x30022",
    "EventName": "PM_PMC4_SAVED",
    "BriefDescription": "The conditions for the speculative event selected for PMC4 are met and PMC4 is charged."
  },
  {
    "EventCode": "0x30024",
    "EventName": "PM_PMC6_OVERFLOW",
    "BriefDescription": "The event selected for PMC6 caused the event counter to overflow."
  },
  {
    "EventCode": "0x3006C",
    "EventName": "PM_RUN_CYC_SMT2_MODE",
    "BriefDescription": "Cycles when this thread's run latch is set and the core is in SMT2 mode."
  },
  {
    "EventCode": "0x301E8",
    "EventName": "PM_THRESH_EXC_64",
    "BriefDescription": "Threshold counter exceeded a value of 64."
  },
  {
    "EventCode": "0x301EA",
    "EventName": "PM_THRESH_EXC_1024",
    "BriefDescription": "Threshold counter exceeded a value of 1024."
  },
  {
    "EventCode": "0x40010",
    "EventName": "PM_PMC3_OVERFLOW",
    "BriefDescription": "The event selected for PMC3 caused the event counter to overflow."
  },
  {
    "EventCode": "0x40114",
    "EventName": "PM_MRK_START_PROBE_NOP_DISP",
    "BriefDescription": "Marked Start probe nop dispatched. Instruction AND R0,R0,R0."
  },
  {
    "EventCode": "0x4D010",
    "EventName": "PM_PMC1_SAVED",
    "BriefDescription": "The conditions for the speculative event selected for PMC1 are met and PMC1 is charged."
  },
  {
    "EventCode": "0x4D012",
    "EventName": "PM_PMC3_SAVED",
    "BriefDescription": "The conditions for the speculative event selected for PMC3 are met and PMC3 is charged."
  },
  {
    "EventCode": "0x4D022",
    "EventName": "PM_HYPERVISOR_INST_CMPL",
    "BriefDescription": "PowerPC instruction completed while the thread was in hypervisor state."
  },
  {
    "EventCode": "0x4D026",
    "EventName": "PM_ULTRAVISOR_CYC",
    "BriefDescription": "Cycles when the thread is in Ultravisor state. MSR[S HV PR]=110."
  },
  {
    "EventCode": "0x4D028",
    "EventName": "PM_PRIVILEGED_CYC",
    "BriefDescription": "Cycles when the thread is in Privileged state. MSR[S HV PR]=x00."
  },
  {
    "EventCode": "0x4D02C",
    "EventName": "PM_PMC1_REWIND",
    "BriefDescription": "The speculative event selected for PMC1 rewinds and the counter for PMC1 is not charged."
  },
  {
    "EventCode": "0x40030",
    "EventName": "PM_INST_FIN",
    "BriefDescription": "Instruction finished."
  },
  {
    "EventCode": "0x40134",
    "EventName": "PM_MRK_INST_TIMEO",
    "BriefDescription": "Marked instruction finish timeout (instruction was lost)."
  },
  {
    "EventCode": "0x401EA",
    "EventName": "PM_THRESH_EXC_128",
    "BriefDescription": "Threshold counter exceeded a value of 128."
  },
  {
    "EventCode": "0x500FA",
    "EventName": "PM_RUN_INST_CMPL",
    "BriefDescription": "PowerPC instruction completed while the run latch is set."
  }
]