xref: /linux/tools/perf/pmu-events/arch/x86/sandybridge/pipeline.json (revision 59da390e54a4bfa674c6a61727a5e0243ba0ad74)
16e82bdaeSAndi Kleen[
26e82bdaeSAndi Kleen    {
36e82bdaeSAndi Kleen        "PublicDescription": "This event counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state. This event has a constant ratio with the CPU_CLK_UNHALTED.REF_XCLK event. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events.",
4*59da390eSAndi Kleen        "Counter": "Fixed counter 2",
56e82bdaeSAndi Kleen        "UMask": "0x3",
66e82bdaeSAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
76e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
86e82bdaeSAndi Kleen        "BriefDescription": "Reference cycles when the core is not in halt state.",
9*59da390eSAndi Kleen        "CounterHTOff": "Fixed counter 2"
10*59da390eSAndi Kleen    },
11*59da390eSAndi Kleen    {
12*59da390eSAndi Kleen        "PublicDescription": "This event counts the number of instructions retired from execution. For instructions that consist of multiple micro-ops, this event counts the retirement of the last micro-op of the instruction. Counting continues during hardware interrupts, traps, and inside interrupt handlers.",
13*59da390eSAndi Kleen        "Counter": "Fixed counter 0",
14*59da390eSAndi Kleen        "UMask": "0x1",
15*59da390eSAndi Kleen        "EventName": "INST_RETIRED.ANY",
16*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
17*59da390eSAndi Kleen        "BriefDescription": "Instructions retired from execution.",
18*59da390eSAndi Kleen        "CounterHTOff": "Fixed counter 0"
19*59da390eSAndi Kleen    },
20*59da390eSAndi Kleen    {
21*59da390eSAndi Kleen        "PublicDescription": "This event counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events.",
22*59da390eSAndi Kleen        "Counter": "Fixed counter 1",
23*59da390eSAndi Kleen        "UMask": "0x2",
24*59da390eSAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD",
25*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
26*59da390eSAndi Kleen        "BriefDescription": "Core cycles when the thread is not in halt state.",
27*59da390eSAndi Kleen        "CounterHTOff": "Fixed counter 1"
28*59da390eSAndi Kleen    },
29*59da390eSAndi Kleen    {
30*59da390eSAndi Kleen        "Counter": "Fixed counter 1",
31*59da390eSAndi Kleen        "UMask": "0x2",
32*59da390eSAndi Kleen        "AnyThread": "1",
33*59da390eSAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
34*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
35*59da390eSAndi Kleen        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
36*59da390eSAndi Kleen        "CounterHTOff": "Fixed counter 1"
37*59da390eSAndi Kleen    },
38*59da390eSAndi Kleen    {
39*59da390eSAndi Kleen        "EventCode": "0x03",
40*59da390eSAndi Kleen        "Counter": "0,1,2,3",
41*59da390eSAndi Kleen        "UMask": "0x1",
42*59da390eSAndi Kleen        "EventName": "LD_BLOCKS.DATA_UNKNOWN",
43*59da390eSAndi Kleen        "SampleAfterValue": "100003",
44*59da390eSAndi Kleen        "BriefDescription": "Loads delayed due to SB blocks, preceding store operations with known addresses but unknown data.",
45*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
46*59da390eSAndi Kleen    },
47*59da390eSAndi Kleen    {
48*59da390eSAndi Kleen        "PublicDescription": "This event counts loads that followed a store to the same address, where the data could not be forwarded inside the pipeline from the store to the load.  The most common reason why store forwarding would be blocked is when a load's address range overlaps with a preceeding smaller uncompleted store.  See the table of not supported store forwards in the Intel\u00ae 64 and IA-32 Architectures Optimization Reference Manual.  The penalty for blocked store forwarding is that the load must wait for the store to complete before it can be issued.",
49*59da390eSAndi Kleen        "EventCode": "0x03",
50*59da390eSAndi Kleen        "Counter": "0,1,2,3",
51*59da390eSAndi Kleen        "UMask": "0x2",
52*59da390eSAndi Kleen        "EventName": "LD_BLOCKS.STORE_FORWARD",
53*59da390eSAndi Kleen        "SampleAfterValue": "100003",
54*59da390eSAndi Kleen        "BriefDescription": "Cases when loads get true Block-on-Store blocking code preventing store forwarding.",
55*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
56*59da390eSAndi Kleen    },
57*59da390eSAndi Kleen    {
58*59da390eSAndi Kleen        "EventCode": "0x03",
59*59da390eSAndi Kleen        "Counter": "0,1,2,3",
60*59da390eSAndi Kleen        "UMask": "0x8",
61*59da390eSAndi Kleen        "EventName": "LD_BLOCKS.NO_SR",
62*59da390eSAndi Kleen        "SampleAfterValue": "100003",
63*59da390eSAndi Kleen        "BriefDescription": "This event counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
64*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
65*59da390eSAndi Kleen    },
66*59da390eSAndi Kleen    {
67*59da390eSAndi Kleen        "EventCode": "0x03",
68*59da390eSAndi Kleen        "Counter": "0,1,2,3",
69*59da390eSAndi Kleen        "UMask": "0x10",
70*59da390eSAndi Kleen        "EventName": "LD_BLOCKS.ALL_BLOCK",
71*59da390eSAndi Kleen        "SampleAfterValue": "100003",
72*59da390eSAndi Kleen        "BriefDescription": "Number of cases where any load ends up with a valid block-code written to the load buffer (including blocks due to Memory Order Buffer (MOB), Data Cache Unit (DCU), TLB, but load has no DCU miss).",
73*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
74*59da390eSAndi Kleen    },
75*59da390eSAndi Kleen    {
76*59da390eSAndi Kleen        "PublicDescription": "Aliasing occurs when a load is issued after a store and their memory addresses are offset by 4K.  This event counts the number of loads that aliased with a preceding store, resulting in an extended address check in the pipeline.  The enhanced address check typically has a performance penalty of 5 cycles.",
77*59da390eSAndi Kleen        "EventCode": "0x07",
78*59da390eSAndi Kleen        "Counter": "0,1,2,3",
79*59da390eSAndi Kleen        "UMask": "0x1",
80*59da390eSAndi Kleen        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
81*59da390eSAndi Kleen        "SampleAfterValue": "100003",
82*59da390eSAndi Kleen        "BriefDescription": "False dependencies in MOB due to partial compare.",
83*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
84*59da390eSAndi Kleen    },
85*59da390eSAndi Kleen    {
86*59da390eSAndi Kleen        "EventCode": "0x07",
87*59da390eSAndi Kleen        "Counter": "0,1,2,3",
88*59da390eSAndi Kleen        "UMask": "0x8",
89*59da390eSAndi Kleen        "EventName": "LD_BLOCKS_PARTIAL.ALL_STA_BLOCK",
90*59da390eSAndi Kleen        "SampleAfterValue": "100003",
91*59da390eSAndi Kleen        "BriefDescription": "This event counts the number of times that load operations are temporarily blocked because of older stores, with addresses that are not yet known. A load operation may incur more than one block of this type.",
92*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
93*59da390eSAndi Kleen    },
94*59da390eSAndi Kleen    {
95*59da390eSAndi Kleen        "EventCode": "0x0D",
96*59da390eSAndi Kleen        "Counter": "0,1,2,3",
97*59da390eSAndi Kleen        "UMask": "0x3",
98*59da390eSAndi Kleen        "EventName": "INT_MISC.RECOVERY_CYCLES",
99*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
100*59da390eSAndi Kleen        "BriefDescription": "Number of cycles waiting for the checkpoints in Resource Allocation Table (RAT) to be recovered after Nuke due to all other cases except JEClear (e.g. whenever a ucode assist is needed like SSE exception, memory disambiguation, etc...).",
101*59da390eSAndi Kleen        "CounterMask": "1",
102*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
103*59da390eSAndi Kleen    },
104*59da390eSAndi Kleen    {
105*59da390eSAndi Kleen        "EventCode": "0x0D",
106*59da390eSAndi Kleen        "Counter": "0,1,2,3",
107*59da390eSAndi Kleen        "UMask": "0x3",
108*59da390eSAndi Kleen        "EdgeDetect": "1",
109*59da390eSAndi Kleen        "EventName": "INT_MISC.RECOVERY_STALLS_COUNT",
110*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
111*59da390eSAndi Kleen        "BriefDescription": "Number of occurences waiting for the checkpoints in Resource Allocation Table (RAT) to be recovered after Nuke due to all other cases except JEClear (e.g. whenever a ucode assist is needed like SSE exception, memory disambiguation, etc...).",
112*59da390eSAndi Kleen        "CounterMask": "1",
113*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
114*59da390eSAndi Kleen    },
115*59da390eSAndi Kleen    {
116*59da390eSAndi Kleen        "EventCode": "0x0D",
117*59da390eSAndi Kleen        "Counter": "0,1,2,3",
118*59da390eSAndi Kleen        "UMask": "0x3",
119*59da390eSAndi Kleen        "AnyThread": "1",
120*59da390eSAndi Kleen        "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
121*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
122*59da390eSAndi Kleen        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke).",
123*59da390eSAndi Kleen        "CounterMask": "1",
124*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
125*59da390eSAndi Kleen    },
126*59da390eSAndi Kleen    {
127*59da390eSAndi Kleen        "EventCode": "0x0D",
128*59da390eSAndi Kleen        "Counter": "0,1,2,3",
129*59da390eSAndi Kleen        "UMask": "0x40",
130*59da390eSAndi Kleen        "EventName": "INT_MISC.RAT_STALL_CYCLES",
131*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
132*59da390eSAndi Kleen        "BriefDescription": "Cycles when Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the thread.",
133*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
134*59da390eSAndi Kleen    },
135*59da390eSAndi Kleen    {
136*59da390eSAndi Kleen        "PublicDescription": "This event counts the number of Uops issued by the front-end of the pipeilne to the back-end.",
137*59da390eSAndi Kleen        "EventCode": "0x0E",
138*59da390eSAndi Kleen        "Counter": "0,1,2,3",
139*59da390eSAndi Kleen        "UMask": "0x1",
140*59da390eSAndi Kleen        "EventName": "UOPS_ISSUED.ANY",
141*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
142*59da390eSAndi Kleen        "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS).",
143*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
144*59da390eSAndi Kleen    },
145*59da390eSAndi Kleen    {
146*59da390eSAndi Kleen        "EventCode": "0x0E",
147*59da390eSAndi Kleen        "Invert": "1",
148*59da390eSAndi Kleen        "Counter": "0,1,2,3",
149*59da390eSAndi Kleen        "UMask": "0x1",
150*59da390eSAndi Kleen        "EventName": "UOPS_ISSUED.STALL_CYCLES",
151*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
152*59da390eSAndi Kleen        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread.",
153*59da390eSAndi Kleen        "CounterMask": "1",
154*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3"
155*59da390eSAndi Kleen    },
156*59da390eSAndi Kleen    {
157*59da390eSAndi Kleen        "EventCode": "0x0E",
158*59da390eSAndi Kleen        "Invert": "1",
159*59da390eSAndi Kleen        "Counter": "0,1,2,3",
160*59da390eSAndi Kleen        "UMask": "0x1",
161*59da390eSAndi Kleen        "AnyThread": "1",
162*59da390eSAndi Kleen        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
163*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
164*59da390eSAndi Kleen        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads.",
165*59da390eSAndi Kleen        "CounterMask": "1",
166*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3"
167*59da390eSAndi Kleen    },
168*59da390eSAndi Kleen    {
169*59da390eSAndi Kleen        "EventCode": "0x14",
170*59da390eSAndi Kleen        "Counter": "0,1,2,3",
171*59da390eSAndi Kleen        "UMask": "0x1",
172*59da390eSAndi Kleen        "EventName": "ARITH.FPU_DIV_ACTIVE",
173*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
174*59da390eSAndi Kleen        "BriefDescription": "Cycles when divider is busy executing divide operations.",
175*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
176*59da390eSAndi Kleen    },
177*59da390eSAndi Kleen    {
178*59da390eSAndi Kleen        "PublicDescription": "This event counts the number of the divide operations executed.",
179*59da390eSAndi Kleen        "EventCode": "0x14",
180*59da390eSAndi Kleen        "Counter": "0,1,2,3",
181*59da390eSAndi Kleen        "UMask": "0x1",
182*59da390eSAndi Kleen        "EdgeDetect": "1",
183*59da390eSAndi Kleen        "EventName": "ARITH.FPU_DIV",
184*59da390eSAndi Kleen        "SampleAfterValue": "100003",
185*59da390eSAndi Kleen        "BriefDescription": "Divide operations executed.",
186*59da390eSAndi Kleen        "CounterMask": "1",
187*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
188*59da390eSAndi Kleen    },
189*59da390eSAndi Kleen    {
190*59da390eSAndi Kleen        "EventCode": "0x3C",
191*59da390eSAndi Kleen        "Counter": "0,1,2,3",
192*59da390eSAndi Kleen        "UMask": "0x0",
193*59da390eSAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
194*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
195*59da390eSAndi Kleen        "BriefDescription": "Thread cycles when thread is not in halt state.",
196*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
197*59da390eSAndi Kleen    },
198*59da390eSAndi Kleen    {
199*59da390eSAndi Kleen        "EventCode": "0x3C",
200*59da390eSAndi Kleen        "Counter": "0,1,2,3",
201*59da390eSAndi Kleen        "UMask": "0x0",
202*59da390eSAndi Kleen        "AnyThread": "1",
203*59da390eSAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
204*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
205*59da390eSAndi Kleen        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
206*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
207*59da390eSAndi Kleen    },
208*59da390eSAndi Kleen    {
209*59da390eSAndi Kleen        "EventCode": "0x3C",
210*59da390eSAndi Kleen        "Counter": "0,1,2,3",
211*59da390eSAndi Kleen        "UMask": "0x1",
212*59da390eSAndi Kleen        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
213*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
214*59da390eSAndi Kleen        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
215*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
216*59da390eSAndi Kleen    },
217*59da390eSAndi Kleen    {
218*59da390eSAndi Kleen        "EventCode": "0x3C",
219*59da390eSAndi Kleen        "Counter": "0,1,2,3",
220*59da390eSAndi Kleen        "UMask": "0x1",
221*59da390eSAndi Kleen        "AnyThread": "1",
222*59da390eSAndi Kleen        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
223*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
224*59da390eSAndi Kleen        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
225*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
226*59da390eSAndi Kleen    },
227*59da390eSAndi Kleen    {
228*59da390eSAndi Kleen        "PublicDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
229*59da390eSAndi Kleen        "EventCode": "0x3C",
230*59da390eSAndi Kleen        "Counter": "0,1,2,3",
231*59da390eSAndi Kleen        "UMask": "0x1",
232*59da390eSAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
233*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
234*59da390eSAndi Kleen        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
235*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
236*59da390eSAndi Kleen    },
237*59da390eSAndi Kleen    {
238*59da390eSAndi Kleen        "EventCode": "0x3C",
239*59da390eSAndi Kleen        "Counter": "0,1,2,3",
240*59da390eSAndi Kleen        "UMask": "0x1",
241*59da390eSAndi Kleen        "AnyThread": "1",
242*59da390eSAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
243*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
244*59da390eSAndi Kleen        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
245*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
246*59da390eSAndi Kleen    },
247*59da390eSAndi Kleen    {
248*59da390eSAndi Kleen        "EventCode": "0x3C",
249*59da390eSAndi Kleen        "Counter": "0,1,2,3",
250*59da390eSAndi Kleen        "UMask": "0x2",
251*59da390eSAndi Kleen        "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
252*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
253*59da390eSAndi Kleen        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other is halted.",
254*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3"
255*59da390eSAndi Kleen    },
256*59da390eSAndi Kleen    {
257*59da390eSAndi Kleen        "EventCode": "0x3C",
258*59da390eSAndi Kleen        "Counter": "0,1,2,3",
259*59da390eSAndi Kleen        "UMask": "0x2",
260*59da390eSAndi Kleen        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
261*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
262*59da390eSAndi Kleen        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
263*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
264*59da390eSAndi Kleen    },
265*59da390eSAndi Kleen    {
266*59da390eSAndi Kleen        "EventCode": "0x4C",
267*59da390eSAndi Kleen        "Counter": "0,1,2,3",
268*59da390eSAndi Kleen        "UMask": "0x1",
269*59da390eSAndi Kleen        "EventName": "LOAD_HIT_PRE.SW_PF",
270*59da390eSAndi Kleen        "SampleAfterValue": "100003",
271*59da390eSAndi Kleen        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch.",
272*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
273*59da390eSAndi Kleen    },
274*59da390eSAndi Kleen    {
275*59da390eSAndi Kleen        "EventCode": "0x4C",
276*59da390eSAndi Kleen        "Counter": "0,1,2,3",
277*59da390eSAndi Kleen        "UMask": "0x2",
278*59da390eSAndi Kleen        "EventName": "LOAD_HIT_PRE.HW_PF",
279*59da390eSAndi Kleen        "SampleAfterValue": "100003",
280*59da390eSAndi Kleen        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch.",
281*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
282*59da390eSAndi Kleen    },
283*59da390eSAndi Kleen    {
284*59da390eSAndi Kleen        "EventCode": "0x59",
285*59da390eSAndi Kleen        "Counter": "0,1,2,3",
286*59da390eSAndi Kleen        "UMask": "0x20",
287*59da390eSAndi Kleen        "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP",
288*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
289*59da390eSAndi Kleen        "BriefDescription": "Increments the number of flags-merge uops in flight each cycle.",
290*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
291*59da390eSAndi Kleen    },
292*59da390eSAndi Kleen    {
293*59da390eSAndi Kleen        "PublicDescription": "This event counts the number of cycles spent executing performance-sensitive flags-merging uops. For example, shift CL (merge_arith_flags). For more details, See the Intel\u00ae 64 and IA-32 Architectures Optimization Reference Manual.",
294*59da390eSAndi Kleen        "EventCode": "0x59",
295*59da390eSAndi Kleen        "Counter": "0,1,2,3",
296*59da390eSAndi Kleen        "UMask": "0x20",
297*59da390eSAndi Kleen        "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP_CYCLES",
298*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
299*59da390eSAndi Kleen        "BriefDescription": "Performance sensitive flags-merging uops added by Sandy Bridge u-arch.",
300*59da390eSAndi Kleen        "CounterMask": "1",
301*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
302*59da390eSAndi Kleen    },
303*59da390eSAndi Kleen    {
304*59da390eSAndi Kleen        "PublicDescription": "This event counts the number of cycles with at least one slow LEA uop being allocated. A uop is generally considered as slow LEA if it has three sources (for example, two sources and immediate) regardless of whether it is a result of LEA instruction or not. Examples of the slow LEA uop are or uops with base, index, and offset source operands using base and index reqisters, where base is EBR/RBP/R13, using RIP relative or 16-bit addressing modes. See the Intel\u00ae 64 and IA-32 Architectures Optimization Reference Manual for more details about slow LEA instructions.",
305*59da390eSAndi Kleen        "EventCode": "0x59",
306*59da390eSAndi Kleen        "Counter": "0,1,2,3",
307*59da390eSAndi Kleen        "UMask": "0x40",
308*59da390eSAndi Kleen        "EventName": "PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW",
309*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
310*59da390eSAndi Kleen        "BriefDescription": "Cycles with at least one slow LEA uop being allocated.",
311*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
312*59da390eSAndi Kleen    },
313*59da390eSAndi Kleen    {
314*59da390eSAndi Kleen        "EventCode": "0x59",
315*59da390eSAndi Kleen        "Counter": "0,1,2,3",
316*59da390eSAndi Kleen        "UMask": "0x80",
317*59da390eSAndi Kleen        "EventName": "PARTIAL_RAT_STALLS.MUL_SINGLE_UOP",
318*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
319*59da390eSAndi Kleen        "BriefDescription": "Multiply packed/scalar single precision uops allocated.",
320*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
321*59da390eSAndi Kleen    },
322*59da390eSAndi Kleen    {
323*59da390eSAndi Kleen        "EventCode": "0x5B",
324*59da390eSAndi Kleen        "Counter": "0,1,2,3",
325*59da390eSAndi Kleen        "UMask": "0xc",
326*59da390eSAndi Kleen        "EventName": "RESOURCE_STALLS2.ALL_FL_EMPTY",
327*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
328*59da390eSAndi Kleen        "BriefDescription": "Cycles with either free list is empty.",
329*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
330*59da390eSAndi Kleen    },
331*59da390eSAndi Kleen    {
332*59da390eSAndi Kleen        "EventCode": "0x5B",
333*59da390eSAndi Kleen        "Counter": "0,1,2,3",
334*59da390eSAndi Kleen        "UMask": "0xf",
335*59da390eSAndi Kleen        "EventName": "RESOURCE_STALLS2.ALL_PRF_CONTROL",
336*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
337*59da390eSAndi Kleen        "BriefDescription": "Resource stalls2 control structures full for physical registers.",
338*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
339*59da390eSAndi Kleen    },
340*59da390eSAndi Kleen    {
341*59da390eSAndi Kleen        "EventCode": "0x5B",
342*59da390eSAndi Kleen        "Counter": "0,1,2,3",
343*59da390eSAndi Kleen        "UMask": "0x40",
344*59da390eSAndi Kleen        "EventName": "RESOURCE_STALLS2.BOB_FULL",
345*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
346*59da390eSAndi Kleen        "BriefDescription": "Cycles when Allocator is stalled if BOB is full and new branch needs it.",
347*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
348*59da390eSAndi Kleen    },
349*59da390eSAndi Kleen    {
350*59da390eSAndi Kleen        "EventCode": "0x5B",
351*59da390eSAndi Kleen        "Counter": "0,1,2,3",
352*59da390eSAndi Kleen        "UMask": "0x4f",
353*59da390eSAndi Kleen        "EventName": "RESOURCE_STALLS2.OOO_RSRC",
354*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
355*59da390eSAndi Kleen        "BriefDescription": "Resource stalls out of order resources full.",
356*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
357*59da390eSAndi Kleen    },
358*59da390eSAndi Kleen    {
359*59da390eSAndi Kleen        "EventCode": "0x5E",
360*59da390eSAndi Kleen        "Counter": "0,1,2,3",
361*59da390eSAndi Kleen        "UMask": "0x1",
362*59da390eSAndi Kleen        "EventName": "RS_EVENTS.EMPTY_CYCLES",
363*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
364*59da390eSAndi Kleen        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread.",
365*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
366*59da390eSAndi Kleen    },
367*59da390eSAndi Kleen    {
368*59da390eSAndi Kleen        "EventCode": "0x5E",
369*59da390eSAndi Kleen        "Invert": "1",
370*59da390eSAndi Kleen        "Counter": "0,1,2,3",
371*59da390eSAndi Kleen        "UMask": "0x1",
372*59da390eSAndi Kleen        "EdgeDetect": "1",
373*59da390eSAndi Kleen        "EventName": "RS_EVENTS.EMPTY_END",
374*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
375*59da390eSAndi Kleen        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
376*59da390eSAndi Kleen        "CounterMask": "1",
377*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
378*59da390eSAndi Kleen    },
379*59da390eSAndi Kleen    {
380*59da390eSAndi Kleen        "EventCode": "0x87",
381*59da390eSAndi Kleen        "Counter": "0,1,2,3",
382*59da390eSAndi Kleen        "UMask": "0x1",
383*59da390eSAndi Kleen        "EventName": "ILD_STALL.LCP",
384*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
385*59da390eSAndi Kleen        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
386*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
387*59da390eSAndi Kleen    },
388*59da390eSAndi Kleen    {
389*59da390eSAndi Kleen        "EventCode": "0x87",
390*59da390eSAndi Kleen        "Counter": "0,1,2,3",
391*59da390eSAndi Kleen        "UMask": "0x4",
392*59da390eSAndi Kleen        "EventName": "ILD_STALL.IQ_FULL",
393*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
394*59da390eSAndi Kleen        "BriefDescription": "Stall cycles because IQ is full.",
395*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
3966e82bdaeSAndi Kleen    },
3976e82bdaeSAndi Kleen    {
3986e82bdaeSAndi Kleen        "EventCode": "0x88",
3996e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4006e82bdaeSAndi Kleen        "UMask": "0x41",
4016e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL",
4026e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
4036e82bdaeSAndi Kleen        "BriefDescription": "Not taken macro-conditional branches.",
4046e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
4056e82bdaeSAndi Kleen    },
4066e82bdaeSAndi Kleen    {
4076e82bdaeSAndi Kleen        "EventCode": "0x88",
4086e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4096e82bdaeSAndi Kleen        "UMask": "0x81",
4106e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL",
4116e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
4126e82bdaeSAndi Kleen        "BriefDescription": "Taken speculative and retired macro-conditional branches.",
4136e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
4146e82bdaeSAndi Kleen    },
4156e82bdaeSAndi Kleen    {
4166e82bdaeSAndi Kleen        "EventCode": "0x88",
4176e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4186e82bdaeSAndi Kleen        "UMask": "0x82",
4196e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP",
4206e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
4216e82bdaeSAndi Kleen        "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects.",
4226e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
4236e82bdaeSAndi Kleen    },
4246e82bdaeSAndi Kleen    {
4256e82bdaeSAndi Kleen        "EventCode": "0x88",
4266e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4276e82bdaeSAndi Kleen        "UMask": "0x84",
4286e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
4296e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
4306e82bdaeSAndi Kleen        "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns.",
4316e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
4326e82bdaeSAndi Kleen    },
4336e82bdaeSAndi Kleen    {
4346e82bdaeSAndi Kleen        "EventCode": "0x88",
4356e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4366e82bdaeSAndi Kleen        "UMask": "0x88",
4376e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN",
4386e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
4396e82bdaeSAndi Kleen        "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic.",
4406e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
4416e82bdaeSAndi Kleen    },
4426e82bdaeSAndi Kleen    {
4436e82bdaeSAndi Kleen        "EventCode": "0x88",
4446e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4456e82bdaeSAndi Kleen        "UMask": "0x90",
4466e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL",
4476e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
4486e82bdaeSAndi Kleen        "BriefDescription": "Taken speculative and retired direct near calls.",
4496e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
4506e82bdaeSAndi Kleen    },
4516e82bdaeSAndi Kleen    {
4526e82bdaeSAndi Kleen        "EventCode": "0x88",
4536e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4546e82bdaeSAndi Kleen        "UMask": "0xa0",
4556e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL",
4566e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
4576e82bdaeSAndi Kleen        "BriefDescription": "Taken speculative and retired indirect calls.",
4586e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
4596e82bdaeSAndi Kleen    },
4606e82bdaeSAndi Kleen    {
4616e82bdaeSAndi Kleen        "EventCode": "0x88",
4626e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4636e82bdaeSAndi Kleen        "UMask": "0xc1",
4646e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.ALL_CONDITIONAL",
4656e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
4666e82bdaeSAndi Kleen        "BriefDescription": "Speculative and retired macro-conditional branches.",
4676e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
4686e82bdaeSAndi Kleen    },
4696e82bdaeSAndi Kleen    {
4706e82bdaeSAndi Kleen        "EventCode": "0x88",
4716e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4726e82bdaeSAndi Kleen        "UMask": "0xc2",
4736e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP",
4746e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
4756e82bdaeSAndi Kleen        "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects.",
4766e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
4776e82bdaeSAndi Kleen    },
4786e82bdaeSAndi Kleen    {
4796e82bdaeSAndi Kleen        "EventCode": "0x88",
4806e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4816e82bdaeSAndi Kleen        "UMask": "0xc4",
4826e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
4836e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
4846e82bdaeSAndi Kleen        "BriefDescription": "Speculative and retired indirect branches excluding calls and returns.",
4856e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
4866e82bdaeSAndi Kleen    },
4876e82bdaeSAndi Kleen    {
4886e82bdaeSAndi Kleen        "EventCode": "0x88",
4896e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4906e82bdaeSAndi Kleen        "UMask": "0xc8",
4916e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN",
4926e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
4936e82bdaeSAndi Kleen        "BriefDescription": "Speculative and retired indirect return branches.",
4946e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
4956e82bdaeSAndi Kleen    },
4966e82bdaeSAndi Kleen    {
4976e82bdaeSAndi Kleen        "EventCode": "0x88",
4986e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
4996e82bdaeSAndi Kleen        "UMask": "0xd0",
5006e82bdaeSAndi Kleen        "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL",
5016e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
5026e82bdaeSAndi Kleen        "BriefDescription": "Speculative and retired direct near calls.",
5036e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
5046e82bdaeSAndi Kleen    },
5056e82bdaeSAndi Kleen    {
506*59da390eSAndi Kleen        "EventCode": "0x88",
507*59da390eSAndi Kleen        "Counter": "0,1,2,3",
508*59da390eSAndi Kleen        "UMask": "0xff",
509*59da390eSAndi Kleen        "EventName": "BR_INST_EXEC.ALL_BRANCHES",
510*59da390eSAndi Kleen        "SampleAfterValue": "200003",
511*59da390eSAndi Kleen        "BriefDescription": "Speculative and retired  branches.",
512*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
513*59da390eSAndi Kleen    },
514*59da390eSAndi Kleen    {
5156e82bdaeSAndi Kleen        "EventCode": "0x89",
5166e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
5176e82bdaeSAndi Kleen        "UMask": "0x41",
5186e82bdaeSAndi Kleen        "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL",
5196e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
5206e82bdaeSAndi Kleen        "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.",
5216e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
5226e82bdaeSAndi Kleen    },
5236e82bdaeSAndi Kleen    {
5246e82bdaeSAndi Kleen        "EventCode": "0x89",
5256e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
5266e82bdaeSAndi Kleen        "UMask": "0x81",
5276e82bdaeSAndi Kleen        "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL",
5286e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
5296e82bdaeSAndi Kleen        "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches.",
5306e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
5316e82bdaeSAndi Kleen    },
5326e82bdaeSAndi Kleen    {
5336e82bdaeSAndi Kleen        "EventCode": "0x89",
5346e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
5356e82bdaeSAndi Kleen        "UMask": "0x84",
5366e82bdaeSAndi Kleen        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
5376e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
5386e82bdaeSAndi Kleen        "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns.",
5396e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
5406e82bdaeSAndi Kleen    },
5416e82bdaeSAndi Kleen    {
5426e82bdaeSAndi Kleen        "EventCode": "0x89",
5436e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
5446e82bdaeSAndi Kleen        "UMask": "0x88",
5456e82bdaeSAndi Kleen        "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR",
5466e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
5476e82bdaeSAndi Kleen        "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic.",
5486e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
5496e82bdaeSAndi Kleen    },
5506e82bdaeSAndi Kleen    {
5516e82bdaeSAndi Kleen        "EventCode": "0x89",
5526e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
5536e82bdaeSAndi Kleen        "UMask": "0x90",
5546e82bdaeSAndi Kleen        "EventName": "BR_MISP_EXEC.TAKEN_DIRECT_NEAR_CALL",
5556e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
5566e82bdaeSAndi Kleen        "BriefDescription": "Taken speculative and retired mispredicted direct near calls.",
5576e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
5586e82bdaeSAndi Kleen    },
5596e82bdaeSAndi Kleen    {
5606e82bdaeSAndi Kleen        "EventCode": "0x89",
5616e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
5626e82bdaeSAndi Kleen        "UMask": "0xa0",
5636e82bdaeSAndi Kleen        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL",
5646e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
5656e82bdaeSAndi Kleen        "BriefDescription": "Taken speculative and retired mispredicted indirect calls.",
5666e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
5676e82bdaeSAndi Kleen    },
5686e82bdaeSAndi Kleen    {
5696e82bdaeSAndi Kleen        "EventCode": "0x89",
5706e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
5716e82bdaeSAndi Kleen        "UMask": "0xc1",
5726e82bdaeSAndi Kleen        "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL",
5736e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
5746e82bdaeSAndi Kleen        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
5756e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
5766e82bdaeSAndi Kleen    },
5776e82bdaeSAndi Kleen    {
5786e82bdaeSAndi Kleen        "EventCode": "0x89",
5796e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
5806e82bdaeSAndi Kleen        "UMask": "0xc4",
5816e82bdaeSAndi Kleen        "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
5826e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
5836e82bdaeSAndi Kleen        "BriefDescription": "Mispredicted indirect branches excluding calls and returns.",
5846e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
5856e82bdaeSAndi Kleen    },
5866e82bdaeSAndi Kleen    {
5876e82bdaeSAndi Kleen        "EventCode": "0x89",
5886e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
5896e82bdaeSAndi Kleen        "UMask": "0xd0",
5906e82bdaeSAndi Kleen        "EventName": "BR_MISP_EXEC.ALL_DIRECT_NEAR_CALL",
5916e82bdaeSAndi Kleen        "SampleAfterValue": "200003",
5926e82bdaeSAndi Kleen        "BriefDescription": "Speculative and retired mispredicted direct near calls.",
5936e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
5946e82bdaeSAndi Kleen    },
5956e82bdaeSAndi Kleen    {
596*59da390eSAndi Kleen        "EventCode": "0x89",
5976e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
598*59da390eSAndi Kleen        "UMask": "0xff",
599*59da390eSAndi Kleen        "EventName": "BR_MISP_EXEC.ALL_BRANCHES",
600*59da390eSAndi Kleen        "SampleAfterValue": "200003",
601*59da390eSAndi Kleen        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
6026e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
6036e82bdaeSAndi Kleen    },
6046e82bdaeSAndi Kleen    {
605*59da390eSAndi Kleen        "EventCode": "0xA1",
6066e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
6076e82bdaeSAndi Kleen        "UMask": "0x1",
608*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
6096e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
610*59da390eSAndi Kleen        "BriefDescription": "Cycles per thread when uops are dispatched to port 0.",
6116e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
6126e82bdaeSAndi Kleen    },
6136e82bdaeSAndi Kleen    {
614*59da390eSAndi Kleen        "EventCode": "0xA1",
6156e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
6166e82bdaeSAndi Kleen        "UMask": "0x1",
617*59da390eSAndi Kleen        "AnyThread": "1",
618*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_0_CORE",
6196e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
620*59da390eSAndi Kleen        "BriefDescription": "Cycles per core when uops are dispatched to port 0.",
6216e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
6226e82bdaeSAndi Kleen    },
6236e82bdaeSAndi Kleen    {
624*59da390eSAndi Kleen        "EventCode": "0xA1",
6256e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
626*59da390eSAndi Kleen        "UMask": "0x2",
627*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
6286e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
629*59da390eSAndi Kleen        "BriefDescription": "Cycles per thread when uops are dispatched to port 1.",
6306e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
6316e82bdaeSAndi Kleen    },
6326e82bdaeSAndi Kleen    {
633*59da390eSAndi Kleen        "EventCode": "0xA1",
6346e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
635*59da390eSAndi Kleen        "UMask": "0x2",
636*59da390eSAndi Kleen        "AnyThread": "1",
637*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_1_CORE",
6386e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
639*59da390eSAndi Kleen        "BriefDescription": "Cycles per core when uops are dispatched to port 1.",
6406e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
6416e82bdaeSAndi Kleen    },
6426e82bdaeSAndi Kleen    {
643*59da390eSAndi Kleen        "EventCode": "0xA1",
644*59da390eSAndi Kleen        "Counter": "0,1,2,3",
645*59da390eSAndi Kleen        "UMask": "0xc",
646*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
647*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
648*59da390eSAndi Kleen        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 2.",
649*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
650*59da390eSAndi Kleen    },
651*59da390eSAndi Kleen    {
652*59da390eSAndi Kleen        "EventCode": "0xA1",
653*59da390eSAndi Kleen        "Counter": "0,1,2,3",
654*59da390eSAndi Kleen        "UMask": "0xc",
655*59da390eSAndi Kleen        "AnyThread": "1",
656*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_2_CORE",
657*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
658*59da390eSAndi Kleen        "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 2.",
659*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
660*59da390eSAndi Kleen    },
661*59da390eSAndi Kleen    {
662*59da390eSAndi Kleen        "EventCode": "0xA1",
663*59da390eSAndi Kleen        "Counter": "0,1,2,3",
664*59da390eSAndi Kleen        "UMask": "0x30",
665*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
666*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
667*59da390eSAndi Kleen        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 3.",
668*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
669*59da390eSAndi Kleen    },
670*59da390eSAndi Kleen    {
671*59da390eSAndi Kleen        "EventCode": "0xA1",
672*59da390eSAndi Kleen        "Counter": "0,1,2,3",
673*59da390eSAndi Kleen        "UMask": "0x30",
674*59da390eSAndi Kleen        "AnyThread": "1",
675*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_3_CORE",
676*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
677*59da390eSAndi Kleen        "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 3.",
678*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
679*59da390eSAndi Kleen    },
680*59da390eSAndi Kleen    {
681*59da390eSAndi Kleen        "EventCode": "0xA1",
6826e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
6836e82bdaeSAndi Kleen        "UMask": "0x40",
684*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
6856e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
686*59da390eSAndi Kleen        "BriefDescription": "Cycles per thread when uops are dispatched to port 4.",
6876e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
6886e82bdaeSAndi Kleen    },
6896e82bdaeSAndi Kleen    {
690*59da390eSAndi Kleen        "EventCode": "0xA1",
6916e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
6926e82bdaeSAndi Kleen        "UMask": "0x40",
693*59da390eSAndi Kleen        "AnyThread": "1",
694*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_4_CORE",
6956e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
696*59da390eSAndi Kleen        "BriefDescription": "Cycles per core when uops are dispatched to port 4.",
6976e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
6986e82bdaeSAndi Kleen    },
6996e82bdaeSAndi Kleen    {
700*59da390eSAndi Kleen        "EventCode": "0xA1",
7016e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
7026e82bdaeSAndi Kleen        "UMask": "0x80",
703*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
7046e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
705*59da390eSAndi Kleen        "BriefDescription": "Cycles per thread when uops are dispatched to port 5.",
706*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
707*59da390eSAndi Kleen    },
708*59da390eSAndi Kleen    {
709*59da390eSAndi Kleen        "EventCode": "0xA1",
710*59da390eSAndi Kleen        "Counter": "0,1,2,3",
711*59da390eSAndi Kleen        "UMask": "0x80",
712*59da390eSAndi Kleen        "AnyThread": "1",
713*59da390eSAndi Kleen        "EventName": "UOPS_DISPATCHED_PORT.PORT_5_CORE",
714*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
715*59da390eSAndi Kleen        "BriefDescription": "Cycles per core when uops are dispatched to port 5.",
7166e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
7176e82bdaeSAndi Kleen    },
7186e82bdaeSAndi Kleen    {
7196e82bdaeSAndi Kleen        "EventCode": "0xA2",
7206e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
7216e82bdaeSAndi Kleen        "UMask": "0x1",
7226e82bdaeSAndi Kleen        "EventName": "RESOURCE_STALLS.ANY",
7236e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
7246e82bdaeSAndi Kleen        "BriefDescription": "Resource-related stall cycles.",
7256e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
7266e82bdaeSAndi Kleen    },
7276e82bdaeSAndi Kleen    {
7286e82bdaeSAndi Kleen        "EventCode": "0xA2",
7296e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
7306e82bdaeSAndi Kleen        "UMask": "0x2",
7316e82bdaeSAndi Kleen        "EventName": "RESOURCE_STALLS.LB",
7326e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
7336e82bdaeSAndi Kleen        "BriefDescription": "Counts the cycles of stall due to lack of load buffers.",
7346e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
7356e82bdaeSAndi Kleen    },
7366e82bdaeSAndi Kleen    {
7376e82bdaeSAndi Kleen        "EventCode": "0xA2",
7386e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
7396e82bdaeSAndi Kleen        "UMask": "0x4",
7406e82bdaeSAndi Kleen        "EventName": "RESOURCE_STALLS.RS",
7416e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
7426e82bdaeSAndi Kleen        "BriefDescription": "Cycles stalled due to no eligible RS entry available.",
7436e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
7446e82bdaeSAndi Kleen    },
7456e82bdaeSAndi Kleen    {
7466e82bdaeSAndi Kleen        "EventCode": "0xA2",
7476e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
7486e82bdaeSAndi Kleen        "UMask": "0x8",
7496e82bdaeSAndi Kleen        "EventName": "RESOURCE_STALLS.SB",
7506e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
7516e82bdaeSAndi Kleen        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
7526e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
7536e82bdaeSAndi Kleen    },
7546e82bdaeSAndi Kleen    {
7556e82bdaeSAndi Kleen        "EventCode": "0xA2",
7566e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
757*59da390eSAndi Kleen        "UMask": "0xa",
758*59da390eSAndi Kleen        "EventName": "RESOURCE_STALLS.LB_SB",
759*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
760*59da390eSAndi Kleen        "BriefDescription": "Resource stalls due to load or store buffers all being in use.",
761*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
762*59da390eSAndi Kleen    },
763*59da390eSAndi Kleen    {
764*59da390eSAndi Kleen        "EventCode": "0xA2",
765*59da390eSAndi Kleen        "Counter": "0,1,2,3",
766*59da390eSAndi Kleen        "UMask": "0xe",
767*59da390eSAndi Kleen        "EventName": "RESOURCE_STALLS.MEM_RS",
768*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
769*59da390eSAndi Kleen        "BriefDescription": "Resource stalls due to memory buffers or Reservation Station (RS) being fully utilized.",
770*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
771*59da390eSAndi Kleen    },
772*59da390eSAndi Kleen    {
773*59da390eSAndi Kleen        "EventCode": "0xA2",
774*59da390eSAndi Kleen        "Counter": "0,1,2,3",
7756e82bdaeSAndi Kleen        "UMask": "0x10",
7766e82bdaeSAndi Kleen        "EventName": "RESOURCE_STALLS.ROB",
7776e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
7786e82bdaeSAndi Kleen        "BriefDescription": "Cycles stalled due to re-order buffer full.",
7796e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
7806e82bdaeSAndi Kleen    },
7816e82bdaeSAndi Kleen    {
782*59da390eSAndi Kleen        "EventCode": "0xA2",
7836e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
784*59da390eSAndi Kleen        "UMask": "0xf0",
785*59da390eSAndi Kleen        "EventName": "RESOURCE_STALLS.OOO_RSRC",
7866e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
787*59da390eSAndi Kleen        "BriefDescription": "Resource stalls due to Rob being full, FCSW, MXCSR and OTHER.",
7886e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
7896e82bdaeSAndi Kleen    },
7906e82bdaeSAndi Kleen    {
791*59da390eSAndi Kleen        "EventCode": "0xA3",
7926e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
7936e82bdaeSAndi Kleen        "UMask": "0x1",
794*59da390eSAndi Kleen        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING",
7956e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
796*59da390eSAndi Kleen        "BriefDescription": "Each cycle there was a MLC-miss pending demand load this thread (i.e. Non-completed valid SQ entry allocated for demand load and waiting for Uncore), increment by 1. Note this is in MLC and connected to Umask 0.",
7976e82bdaeSAndi Kleen        "CounterMask": "1",
7986e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
7996e82bdaeSAndi Kleen    },
8006e82bdaeSAndi Kleen    {
801*59da390eSAndi Kleen        "EventCode": "0xA3",
802*59da390eSAndi Kleen        "Counter": "2",
803*59da390eSAndi Kleen        "UMask": "0x2",
804*59da390eSAndi Kleen        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING",
8056e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
806*59da390eSAndi Kleen        "BriefDescription": "Each cycle there was a miss-pending demand load this thread, increment by 1. Note this is in DCU and connected to Umask 1. Miss Pending demand load should be deduced by OR-ing increment bits of DCACHE_MISS_PEND.PENDING.",
807*59da390eSAndi Kleen        "CounterMask": "2",
808*59da390eSAndi Kleen        "CounterHTOff": "2"
8096e82bdaeSAndi Kleen    },
8106e82bdaeSAndi Kleen    {
811*59da390eSAndi Kleen        "EventCode": "0xA3",
8126e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
8136e82bdaeSAndi Kleen        "UMask": "0x4",
814*59da390eSAndi Kleen        "EventName": "CYCLE_ACTIVITY.CYCLES_NO_DISPATCH",
8156e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
816*59da390eSAndi Kleen        "BriefDescription": "Each cycle there was no dispatch for this thread, increment by 1. Note this is connect to Umask 2. No dispatch can be deduced from the UOPS_EXECUTED event.",
817*59da390eSAndi Kleen        "CounterMask": "4",
818*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3"
8196e82bdaeSAndi Kleen    },
8206e82bdaeSAndi Kleen    {
821*59da390eSAndi Kleen        "EventCode": "0xA3",
822*59da390eSAndi Kleen        "Counter": "0,1,2,3",
823*59da390eSAndi Kleen        "UMask": "0x5",
824*59da390eSAndi Kleen        "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING",
825*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
826*59da390eSAndi Kleen        "BriefDescription": "Each cycle there was a MLC-miss pending demand load and no uops dispatched on this thread (i.e. Non-completed valid SQ entry allocated for demand load and waiting for Uncore), increment by 1. Note this is in MLC and connected to Umask 0 and 2.",
827*59da390eSAndi Kleen        "CounterMask": "5",
828*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3"
829*59da390eSAndi Kleen    },
830*59da390eSAndi Kleen    {
831*59da390eSAndi Kleen        "EventCode": "0xA3",
832*59da390eSAndi Kleen        "Counter": "2",
833*59da390eSAndi Kleen        "UMask": "0x6",
834*59da390eSAndi Kleen        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING",
835*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
836*59da390eSAndi Kleen        "BriefDescription": "Each cycle there was a miss-pending demand load this thread and no uops dispatched, increment by 1. Note this is in DCU and connected to Umask 1 and 2. Miss Pending demand load should be deduced by OR-ing increment bits of DCACHE_MISS_PEND.PENDING.",
837*59da390eSAndi Kleen        "CounterMask": "6",
838*59da390eSAndi Kleen        "CounterHTOff": "2"
839*59da390eSAndi Kleen    },
840*59da390eSAndi Kleen    {
841*59da390eSAndi Kleen        "EventCode": "0xA8",
8426e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
8436e82bdaeSAndi Kleen        "UMask": "0x1",
844*59da390eSAndi Kleen        "EventName": "LSD.UOPS",
8456e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
846*59da390eSAndi Kleen        "BriefDescription": "Number of Uops delivered by the LSD.",
8476e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
8486e82bdaeSAndi Kleen    },
8496e82bdaeSAndi Kleen    {
850*59da390eSAndi Kleen        "EventCode": "0xA8",
8516e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
8526e82bdaeSAndi Kleen        "UMask": "0x1",
853*59da390eSAndi Kleen        "EventName": "LSD.CYCLES_ACTIVE",
8546e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
855*59da390eSAndi Kleen        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
8566e82bdaeSAndi Kleen        "CounterMask": "1",
857*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
8586e82bdaeSAndi Kleen    },
8596e82bdaeSAndi Kleen    {
860*59da390eSAndi Kleen        "EventCode": "0xA8",
8616e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
8626e82bdaeSAndi Kleen        "UMask": "0x1",
863*59da390eSAndi Kleen        "EventName": "LSD.CYCLES_4_UOPS",
8646e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
865*59da390eSAndi Kleen        "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
866*59da390eSAndi Kleen        "CounterMask": "4",
8676e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
8686e82bdaeSAndi Kleen    },
8696e82bdaeSAndi Kleen    {
8706e82bdaeSAndi Kleen        "EventCode": "0xB1",
8716e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
8726e82bdaeSAndi Kleen        "UMask": "0x1",
8736e82bdaeSAndi Kleen        "EventName": "UOPS_DISPATCHED.THREAD",
8746e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
8756e82bdaeSAndi Kleen        "BriefDescription": "Uops dispatched per thread.",
8766e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
8776e82bdaeSAndi Kleen    },
8786e82bdaeSAndi Kleen    {
8796e82bdaeSAndi Kleen        "EventCode": "0xB1",
8806e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
8816e82bdaeSAndi Kleen        "UMask": "0x2",
8826e82bdaeSAndi Kleen        "EventName": "UOPS_DISPATCHED.CORE",
8836e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
8846e82bdaeSAndi Kleen        "BriefDescription": "Uops dispatched from any thread.",
8856e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
8866e82bdaeSAndi Kleen    },
8876e82bdaeSAndi Kleen    {
8886e82bdaeSAndi Kleen        "EventCode": "0xB1",
8896e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
8906e82bdaeSAndi Kleen        "UMask": "0x2",
8916e82bdaeSAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
8926e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
8936e82bdaeSAndi Kleen        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
8946e82bdaeSAndi Kleen        "CounterMask": "1",
8956e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
8966e82bdaeSAndi Kleen    },
8976e82bdaeSAndi Kleen    {
8986e82bdaeSAndi Kleen        "EventCode": "0xB1",
8996e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
9006e82bdaeSAndi Kleen        "UMask": "0x2",
9016e82bdaeSAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
9026e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
9036e82bdaeSAndi Kleen        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
9046e82bdaeSAndi Kleen        "CounterMask": "2",
9056e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
9066e82bdaeSAndi Kleen    },
9076e82bdaeSAndi Kleen    {
9086e82bdaeSAndi Kleen        "EventCode": "0xB1",
9096e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
9106e82bdaeSAndi Kleen        "UMask": "0x2",
9116e82bdaeSAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
9126e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
9136e82bdaeSAndi Kleen        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
9146e82bdaeSAndi Kleen        "CounterMask": "3",
9156e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
9166e82bdaeSAndi Kleen    },
9176e82bdaeSAndi Kleen    {
9186e82bdaeSAndi Kleen        "EventCode": "0xB1",
9196e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
9206e82bdaeSAndi Kleen        "UMask": "0x2",
9216e82bdaeSAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
9226e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
9236e82bdaeSAndi Kleen        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
9246e82bdaeSAndi Kleen        "CounterMask": "4",
9256e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
9266e82bdaeSAndi Kleen    },
9276e82bdaeSAndi Kleen    {
9286e82bdaeSAndi Kleen        "EventCode": "0xB1",
9296e82bdaeSAndi Kleen        "Invert": "1",
9306e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
9316e82bdaeSAndi Kleen        "UMask": "0x2",
9326e82bdaeSAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
9336e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
9346e82bdaeSAndi Kleen        "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
9356e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
9366e82bdaeSAndi Kleen    },
9376e82bdaeSAndi Kleen    {
938*59da390eSAndi Kleen        "EventCode": "0xB6",
9396e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
9406e82bdaeSAndi Kleen        "UMask": "0x1",
941*59da390eSAndi Kleen        "EventName": "AGU_BYPASS_CANCEL.COUNT",
942*59da390eSAndi Kleen        "SampleAfterValue": "100003",
943*59da390eSAndi Kleen        "BriefDescription": "This event counts executed load operations with all the following traits: 1. addressing of the format [base + offset], 2. the offset is between 1 and 2047, 3. the address specified in the base register is in one page and the address [base+offset] is in an.",
9446e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
9456e82bdaeSAndi Kleen    },
9466e82bdaeSAndi Kleen    {
947*59da390eSAndi Kleen        "EventCode": "0xC0",
9486e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
949*59da390eSAndi Kleen        "UMask": "0x0",
950*59da390eSAndi Kleen        "EventName": "INST_RETIRED.ANY_P",
9516e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
952*59da390eSAndi Kleen        "BriefDescription": "Number of instructions retired. General Counter   - architectural event.",
9536e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
9546e82bdaeSAndi Kleen    },
9556e82bdaeSAndi Kleen    {
956*59da390eSAndi Kleen        "PEBS": "2",
957*59da390eSAndi Kleen        "EventCode": "0xC0",
958*59da390eSAndi Kleen        "Counter": "1",
959*59da390eSAndi Kleen        "UMask": "0x1",
960*59da390eSAndi Kleen        "EventName": "INST_RETIRED.PREC_DIST",
961*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
962*59da390eSAndi Kleen        "BriefDescription": "Instructions retired. (Precise Event - PEBS).",
963*59da390eSAndi Kleen        "TakenAlone": "1",
964*59da390eSAndi Kleen        "CounterHTOff": "1"
965*59da390eSAndi Kleen    },
966*59da390eSAndi Kleen    {
967*59da390eSAndi Kleen        "EventCode": "0xC1",
9686e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
9696e82bdaeSAndi Kleen        "UMask": "0x2",
970*59da390eSAndi Kleen        "EventName": "OTHER_ASSISTS.ITLB_MISS_RETIRED",
971*59da390eSAndi Kleen        "SampleAfterValue": "100003",
972*59da390eSAndi Kleen        "BriefDescription": "Retired instructions experiencing ITLB misses.",
973*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
974*59da390eSAndi Kleen    },
975*59da390eSAndi Kleen    {
976*59da390eSAndi Kleen        "PEBS": "1",
977*59da390eSAndi Kleen        "PublicDescription": "This event counts the number of micro-ops retired. (Precise Event)",
978*59da390eSAndi Kleen        "EventCode": "0xC2",
979*59da390eSAndi Kleen        "Counter": "0,1,2,3",
980*59da390eSAndi Kleen        "UMask": "0x1",
981*59da390eSAndi Kleen        "EventName": "UOPS_RETIRED.ALL",
9826e82bdaeSAndi Kleen        "SampleAfterValue": "2000003",
983*59da390eSAndi Kleen        "BriefDescription": "Actually retired uops. (Precise Event - PEBS).",
984*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
985*59da390eSAndi Kleen    },
986*59da390eSAndi Kleen    {
987*59da390eSAndi Kleen        "EventCode": "0xC2",
988*59da390eSAndi Kleen        "Invert": "1",
989*59da390eSAndi Kleen        "Counter": "0,1,2,3",
990*59da390eSAndi Kleen        "UMask": "0x1",
991*59da390eSAndi Kleen        "EventName": "UOPS_RETIRED.STALL_CYCLES",
992*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
993*59da390eSAndi Kleen        "BriefDescription": "Cycles without actually retired uops.",
994*59da390eSAndi Kleen        "CounterMask": "1",
995*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3"
996*59da390eSAndi Kleen    },
997*59da390eSAndi Kleen    {
998*59da390eSAndi Kleen        "EventCode": "0xC2",
999*59da390eSAndi Kleen        "Invert": "1",
1000*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1001*59da390eSAndi Kleen        "UMask": "0x1",
1002*59da390eSAndi Kleen        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
1003*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
1004*59da390eSAndi Kleen        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1005*59da390eSAndi Kleen        "CounterMask": "10",
1006*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3"
1007*59da390eSAndi Kleen    },
1008*59da390eSAndi Kleen    {
1009*59da390eSAndi Kleen        "EventCode": "0xC2",
1010*59da390eSAndi Kleen        "Invert": "1",
1011*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1012*59da390eSAndi Kleen        "UMask": "0x1",
1013*59da390eSAndi Kleen        "EventName": "UOPS_RETIRED.CORE_STALL_CYCLES",
1014*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
1015*59da390eSAndi Kleen        "BriefDescription": "Cycles without actually retired uops.",
1016*59da390eSAndi Kleen        "CounterMask": "1",
1017*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3"
1018*59da390eSAndi Kleen    },
1019*59da390eSAndi Kleen    {
1020*59da390eSAndi Kleen        "PEBS": "1",
1021*59da390eSAndi Kleen        "PublicDescription": "This event counts the number of retirement slots used each cycle.  There are potentially 4 slots that can be used each cycle - meaning, 4 micro-ops or 4 instructions could retire each cycle.  This event is used in determining the 'Retiring' category of the Top-Down pipeline slots characterization. (Precise Event - PEBS)",
1022*59da390eSAndi Kleen        "EventCode": "0xC2",
1023*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1024*59da390eSAndi Kleen        "UMask": "0x2",
1025*59da390eSAndi Kleen        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
1026*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
1027*59da390eSAndi Kleen        "BriefDescription": "Retirement slots used. (Precise Event - PEBS).",
1028*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1029*59da390eSAndi Kleen    },
1030*59da390eSAndi Kleen    {
1031*59da390eSAndi Kleen        "EventCode": "0xc3",
1032*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1033*59da390eSAndi Kleen        "UMask": "0x1",
1034*59da390eSAndi Kleen        "EdgeDetect": "1",
1035*59da390eSAndi Kleen        "EventName": "MACHINE_CLEARS.COUNT",
1036*59da390eSAndi Kleen        "SampleAfterValue": "100003",
1037*59da390eSAndi Kleen        "BriefDescription": "Number of machine clears (nukes) of any type.",
1038*59da390eSAndi Kleen        "CounterMask": "1",
1039*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1040*59da390eSAndi Kleen    },
1041*59da390eSAndi Kleen    {
1042*59da390eSAndi Kleen        "PublicDescription": "This event is incremented when self-modifying code (SMC) is detected, which causes a machine clear.  Machine clears can have a significant performance impact if they are happening frequently.",
1043*59da390eSAndi Kleen        "EventCode": "0xC3",
1044*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1045*59da390eSAndi Kleen        "UMask": "0x4",
1046*59da390eSAndi Kleen        "EventName": "MACHINE_CLEARS.SMC",
1047*59da390eSAndi Kleen        "SampleAfterValue": "100003",
1048*59da390eSAndi Kleen        "BriefDescription": "Self-modifying code (SMC) detected.",
1049*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1050*59da390eSAndi Kleen    },
1051*59da390eSAndi Kleen    {
1052*59da390eSAndi Kleen        "PublicDescription": "Maskmov false fault - counts number of time ucode passes through Maskmov flow due to instruction's mask being 0 while the flow was completed without raising a fault.",
1053*59da390eSAndi Kleen        "EventCode": "0xC3",
1054*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1055*59da390eSAndi Kleen        "UMask": "0x20",
1056*59da390eSAndi Kleen        "EventName": "MACHINE_CLEARS.MASKMOV",
1057*59da390eSAndi Kleen        "SampleAfterValue": "100003",
1058*59da390eSAndi Kleen        "BriefDescription": "This event counts the number of executed Intel AVX masked load operations that refer to an illegal address range with the mask bits set to 0.",
1059*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1060*59da390eSAndi Kleen    },
1061*59da390eSAndi Kleen    {
1062*59da390eSAndi Kleen        "EventCode": "0xC4",
1063*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1064*59da390eSAndi Kleen        "UMask": "0x0",
1065*59da390eSAndi Kleen        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
1066*59da390eSAndi Kleen        "SampleAfterValue": "400009",
1067*59da390eSAndi Kleen        "BriefDescription": "All (macro) branch instructions retired.",
1068*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1069*59da390eSAndi Kleen    },
1070*59da390eSAndi Kleen    {
1071*59da390eSAndi Kleen        "PEBS": "1",
1072*59da390eSAndi Kleen        "EventCode": "0xC4",
1073*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1074*59da390eSAndi Kleen        "UMask": "0x1",
1075*59da390eSAndi Kleen        "EventName": "BR_INST_RETIRED.CONDITIONAL",
1076*59da390eSAndi Kleen        "SampleAfterValue": "400009",
1077*59da390eSAndi Kleen        "BriefDescription": "Conditional branch instructions retired. (Precise Event - PEBS).",
1078*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1079*59da390eSAndi Kleen    },
1080*59da390eSAndi Kleen    {
1081*59da390eSAndi Kleen        "PEBS": "1",
1082*59da390eSAndi Kleen        "EventCode": "0xC4",
1083*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1084*59da390eSAndi Kleen        "UMask": "0x2",
1085*59da390eSAndi Kleen        "EventName": "BR_INST_RETIRED.NEAR_CALL",
1086*59da390eSAndi Kleen        "SampleAfterValue": "100007",
1087*59da390eSAndi Kleen        "BriefDescription": "Direct and indirect near call instructions retired. (Precise Event - PEBS).",
1088*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1089*59da390eSAndi Kleen    },
1090*59da390eSAndi Kleen    {
1091*59da390eSAndi Kleen        "PEBS": "1",
1092*59da390eSAndi Kleen        "EventCode": "0xC4",
1093*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1094*59da390eSAndi Kleen        "UMask": "0x2",
1095*59da390eSAndi Kleen        "EventName": "BR_INST_RETIRED.NEAR_CALL_R3",
1096*59da390eSAndi Kleen        "SampleAfterValue": "100007",
1097*59da390eSAndi Kleen        "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3). (Precise Event - PEBS).",
1098*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1099*59da390eSAndi Kleen    },
1100*59da390eSAndi Kleen    {
1101*59da390eSAndi Kleen        "PEBS": "2",
1102*59da390eSAndi Kleen        "EventCode": "0xC4",
1103*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1104*59da390eSAndi Kleen        "UMask": "0x4",
1105*59da390eSAndi Kleen        "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
1106*59da390eSAndi Kleen        "SampleAfterValue": "400009",
1107*59da390eSAndi Kleen        "BriefDescription": "All (macro) branch instructions retired. (Precise Event - PEBS).",
1108*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3"
1109*59da390eSAndi Kleen    },
1110*59da390eSAndi Kleen    {
1111*59da390eSAndi Kleen        "PEBS": "1",
1112*59da390eSAndi Kleen        "EventCode": "0xC4",
1113*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1114*59da390eSAndi Kleen        "UMask": "0x8",
1115*59da390eSAndi Kleen        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
1116*59da390eSAndi Kleen        "SampleAfterValue": "100007",
1117*59da390eSAndi Kleen        "BriefDescription": "Return instructions retired. (Precise Event - PEBS).",
1118*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1119*59da390eSAndi Kleen    },
1120*59da390eSAndi Kleen    {
1121*59da390eSAndi Kleen        "EventCode": "0xC4",
1122*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1123*59da390eSAndi Kleen        "UMask": "0x10",
1124*59da390eSAndi Kleen        "EventName": "BR_INST_RETIRED.NOT_TAKEN",
1125*59da390eSAndi Kleen        "SampleAfterValue": "400009",
1126*59da390eSAndi Kleen        "BriefDescription": "Not taken branch instructions retired.",
1127*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1128*59da390eSAndi Kleen    },
1129*59da390eSAndi Kleen    {
1130*59da390eSAndi Kleen        "PEBS": "1",
1131*59da390eSAndi Kleen        "EventCode": "0xC4",
1132*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1133*59da390eSAndi Kleen        "UMask": "0x20",
1134*59da390eSAndi Kleen        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
1135*59da390eSAndi Kleen        "SampleAfterValue": "400009",
1136*59da390eSAndi Kleen        "BriefDescription": "Taken branch instructions retired. (Precise Event - PEBS).",
1137*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1138*59da390eSAndi Kleen    },
1139*59da390eSAndi Kleen    {
1140*59da390eSAndi Kleen        "EventCode": "0xC4",
1141*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1142*59da390eSAndi Kleen        "UMask": "0x40",
1143*59da390eSAndi Kleen        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
1144*59da390eSAndi Kleen        "SampleAfterValue": "100007",
1145*59da390eSAndi Kleen        "BriefDescription": "Far branch instructions retired.",
1146*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1147*59da390eSAndi Kleen    },
1148*59da390eSAndi Kleen    {
1149*59da390eSAndi Kleen        "EventCode": "0xC5",
1150*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1151*59da390eSAndi Kleen        "UMask": "0x0",
1152*59da390eSAndi Kleen        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
1153*59da390eSAndi Kleen        "SampleAfterValue": "400009",
1154*59da390eSAndi Kleen        "BriefDescription": "All mispredicted macro branch instructions retired.",
1155*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1156*59da390eSAndi Kleen    },
1157*59da390eSAndi Kleen    {
1158*59da390eSAndi Kleen        "PEBS": "1",
1159*59da390eSAndi Kleen        "EventCode": "0xC5",
1160*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1161*59da390eSAndi Kleen        "UMask": "0x1",
1162*59da390eSAndi Kleen        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
1163*59da390eSAndi Kleen        "SampleAfterValue": "400009",
1164*59da390eSAndi Kleen        "BriefDescription": "Mispredicted conditional branch instructions retired. (Precise Event - PEBS).",
1165*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1166*59da390eSAndi Kleen    },
1167*59da390eSAndi Kleen    {
1168*59da390eSAndi Kleen        "PEBS": "1",
1169*59da390eSAndi Kleen        "EventCode": "0xC5",
1170*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1171*59da390eSAndi Kleen        "UMask": "0x2",
1172*59da390eSAndi Kleen        "EventName": "BR_MISP_RETIRED.NEAR_CALL",
1173*59da390eSAndi Kleen        "SampleAfterValue": "100007",
1174*59da390eSAndi Kleen        "BriefDescription": "Direct and indirect mispredicted near call instructions retired. (Precise Event - PEBS).",
1175*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1176*59da390eSAndi Kleen    },
1177*59da390eSAndi Kleen    {
1178*59da390eSAndi Kleen        "PEBS": "2",
1179*59da390eSAndi Kleen        "PublicDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS)",
1180*59da390eSAndi Kleen        "EventCode": "0xC5",
1181*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1182*59da390eSAndi Kleen        "UMask": "0x4",
1183*59da390eSAndi Kleen        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
1184*59da390eSAndi Kleen        "SampleAfterValue": "400009",
1185*59da390eSAndi Kleen        "BriefDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS).",
1186*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3"
1187*59da390eSAndi Kleen    },
1188*59da390eSAndi Kleen    {
1189*59da390eSAndi Kleen        "PEBS": "1",
1190*59da390eSAndi Kleen        "EventCode": "0xC5",
1191*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1192*59da390eSAndi Kleen        "UMask": "0x10",
1193*59da390eSAndi Kleen        "EventName": "BR_MISP_RETIRED.NOT_TAKEN",
1194*59da390eSAndi Kleen        "SampleAfterValue": "400009",
1195*59da390eSAndi Kleen        "BriefDescription": "Mispredicted not taken branch instructions retired.(Precise Event - PEBS).",
1196*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1197*59da390eSAndi Kleen    },
1198*59da390eSAndi Kleen    {
1199*59da390eSAndi Kleen        "PEBS": "1",
1200*59da390eSAndi Kleen        "EventCode": "0xC5",
1201*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1202*59da390eSAndi Kleen        "UMask": "0x20",
1203*59da390eSAndi Kleen        "EventName": "BR_MISP_RETIRED.TAKEN",
1204*59da390eSAndi Kleen        "SampleAfterValue": "400009",
1205*59da390eSAndi Kleen        "BriefDescription": "Mispredicted taken branch instructions retired. (Precise Event - PEBS).",
1206*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1207*59da390eSAndi Kleen    },
1208*59da390eSAndi Kleen    {
1209*59da390eSAndi Kleen        "EventCode": "0xCC",
1210*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1211*59da390eSAndi Kleen        "UMask": "0x20",
1212*59da390eSAndi Kleen        "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
1213*59da390eSAndi Kleen        "SampleAfterValue": "2000003",
1214*59da390eSAndi Kleen        "BriefDescription": "Count cases of saving new LBR.",
1215*59da390eSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
1216*59da390eSAndi Kleen    },
1217*59da390eSAndi Kleen    {
1218*59da390eSAndi Kleen        "EventCode": "0xE6",
1219*59da390eSAndi Kleen        "Counter": "0,1,2,3",
1220*59da390eSAndi Kleen        "UMask": "0x1f",
1221*59da390eSAndi Kleen        "EventName": "BACLEARS.ANY",
1222*59da390eSAndi Kleen        "SampleAfterValue": "100003",
1223*59da390eSAndi Kleen        "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.",
12246e82bdaeSAndi Kleen        "CounterHTOff": "0,1,2,3,4,5,6,7"
12256e82bdaeSAndi Kleen    }
12266e82bdaeSAndi Kleen]