target/cxgbit: Use T6 specific macros to get ETH/IP hdr len
[linux/fpc-iii.git] / tools / perf / pmu-events / arch / x86 / sandybridge / pipeline.json
blob8a597e45ed84e3c9d0fd11c05b55224a79368b42
2     {
3         "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. ",
4         "EventCode": "0x00",
5         "Counter": "Fixed counter 1",
6         "UMask": "0x1",
7         "EventName": "INST_RETIRED.ANY",
8         "SampleAfterValue": "2000003",
9         "BriefDescription": "Instructions retired from execution.",
10         "CounterHTOff": "Fixed counter 1"
11     },
12     {
13         "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. ",
14         "EventCode": "0x00",
15         "Counter": "Fixed counter 2",
16         "UMask": "0x2",
17         "EventName": "CPU_CLK_UNHALTED.THREAD",
18         "SampleAfterValue": "2000003",
19         "BriefDescription": "Core cycles when the thread is not in halt state.",
20         "CounterHTOff": "Fixed counter 2"
21     },
22     {
23         "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. ",
24         "EventCode": "0x00",
25         "Counter": "Fixed counter 3",
26         "UMask": "0x3",
27         "EventName": "CPU_CLK_UNHALTED.REF_TSC",
28         "SampleAfterValue": "2000003",
29         "BriefDescription": "Reference cycles when the core is not in halt state.",
30         "CounterHTOff": "Fixed counter 3"
31     },
32     {
33         "EventCode": "0x88",
34         "Counter": "0,1,2,3",
35         "UMask": "0x41",
36         "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL",
37         "SampleAfterValue": "200003",
38         "BriefDescription": "Not taken macro-conditional branches.",
39         "CounterHTOff": "0,1,2,3,4,5,6,7"
40     },
41     {
42         "EventCode": "0x88",
43         "Counter": "0,1,2,3",
44         "UMask": "0x81",
45         "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL",
46         "SampleAfterValue": "200003",
47         "BriefDescription": "Taken speculative and retired macro-conditional branches.",
48         "CounterHTOff": "0,1,2,3,4,5,6,7"
49     },
50     {
51         "EventCode": "0x88",
52         "Counter": "0,1,2,3",
53         "UMask": "0x82",
54         "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP",
55         "SampleAfterValue": "200003",
56         "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects.",
57         "CounterHTOff": "0,1,2,3,4,5,6,7"
58     },
59     {
60         "EventCode": "0x88",
61         "Counter": "0,1,2,3",
62         "UMask": "0x84",
63         "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
64         "SampleAfterValue": "200003",
65         "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns.",
66         "CounterHTOff": "0,1,2,3,4,5,6,7"
67     },
68     {
69         "EventCode": "0x88",
70         "Counter": "0,1,2,3",
71         "UMask": "0x88",
72         "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN",
73         "SampleAfterValue": "200003",
74         "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic.",
75         "CounterHTOff": "0,1,2,3,4,5,6,7"
76     },
77     {
78         "EventCode": "0x88",
79         "Counter": "0,1,2,3",
80         "UMask": "0x90",
81         "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL",
82         "SampleAfterValue": "200003",
83         "BriefDescription": "Taken speculative and retired direct near calls.",
84         "CounterHTOff": "0,1,2,3,4,5,6,7"
85     },
86     {
87         "EventCode": "0x88",
88         "Counter": "0,1,2,3",
89         "UMask": "0xa0",
90         "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL",
91         "SampleAfterValue": "200003",
92         "BriefDescription": "Taken speculative and retired indirect calls.",
93         "CounterHTOff": "0,1,2,3,4,5,6,7"
94     },
95     {
96         "EventCode": "0x88",
97         "Counter": "0,1,2,3",
98         "UMask": "0xc1",
99         "EventName": "BR_INST_EXEC.ALL_CONDITIONAL",
100         "SampleAfterValue": "200003",
101         "BriefDescription": "Speculative and retired macro-conditional branches.",
102         "CounterHTOff": "0,1,2,3,4,5,6,7"
103     },
104     {
105         "EventCode": "0x88",
106         "Counter": "0,1,2,3",
107         "UMask": "0xc2",
108         "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP",
109         "SampleAfterValue": "200003",
110         "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects.",
111         "CounterHTOff": "0,1,2,3,4,5,6,7"
112     },
113     {
114         "EventCode": "0x88",
115         "Counter": "0,1,2,3",
116         "UMask": "0xc4",
117         "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
118         "SampleAfterValue": "200003",
119         "BriefDescription": "Speculative and retired indirect branches excluding calls and returns.",
120         "CounterHTOff": "0,1,2,3,4,5,6,7"
121     },
122     {
123         "EventCode": "0x88",
124         "Counter": "0,1,2,3",
125         "UMask": "0xc8",
126         "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN",
127         "SampleAfterValue": "200003",
128         "BriefDescription": "Speculative and retired indirect return branches.",
129         "CounterHTOff": "0,1,2,3,4,5,6,7"
130     },
131     {
132         "EventCode": "0x88",
133         "Counter": "0,1,2,3",
134         "UMask": "0xd0",
135         "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL",
136         "SampleAfterValue": "200003",
137         "BriefDescription": "Speculative and retired direct near calls.",
138         "CounterHTOff": "0,1,2,3,4,5,6,7"
139     },
140     {
141         "EventCode": "0x89",
142         "Counter": "0,1,2,3",
143         "UMask": "0x41",
144         "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL",
145         "SampleAfterValue": "200003",
146         "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.",
147         "CounterHTOff": "0,1,2,3,4,5,6,7"
148     },
149     {
150         "EventCode": "0x89",
151         "Counter": "0,1,2,3",
152         "UMask": "0x81",
153         "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL",
154         "SampleAfterValue": "200003",
155         "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches.",
156         "CounterHTOff": "0,1,2,3,4,5,6,7"
157     },
158     {
159         "EventCode": "0x89",
160         "Counter": "0,1,2,3",
161         "UMask": "0x84",
162         "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
163         "SampleAfterValue": "200003",
164         "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns.",
165         "CounterHTOff": "0,1,2,3,4,5,6,7"
166     },
167     {
168         "EventCode": "0x89",
169         "Counter": "0,1,2,3",
170         "UMask": "0x88",
171         "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR",
172         "SampleAfterValue": "200003",
173         "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic.",
174         "CounterHTOff": "0,1,2,3,4,5,6,7"
175     },
176     {
177         "EventCode": "0x89",
178         "Counter": "0,1,2,3",
179         "UMask": "0x90",
180         "EventName": "BR_MISP_EXEC.TAKEN_DIRECT_NEAR_CALL",
181         "SampleAfterValue": "200003",
182         "BriefDescription": "Taken speculative and retired mispredicted direct near calls.",
183         "CounterHTOff": "0,1,2,3,4,5,6,7"
184     },
185     {
186         "EventCode": "0x89",
187         "Counter": "0,1,2,3",
188         "UMask": "0xa0",
189         "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL",
190         "SampleAfterValue": "200003",
191         "BriefDescription": "Taken speculative and retired mispredicted indirect calls.",
192         "CounterHTOff": "0,1,2,3,4,5,6,7"
193     },
194     {
195         "EventCode": "0x89",
196         "Counter": "0,1,2,3",
197         "UMask": "0xc1",
198         "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL",
199         "SampleAfterValue": "200003",
200         "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
201         "CounterHTOff": "0,1,2,3,4,5,6,7"
202     },
203     {
204         "EventCode": "0x89",
205         "Counter": "0,1,2,3",
206         "UMask": "0xc4",
207         "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
208         "SampleAfterValue": "200003",
209         "BriefDescription": "Mispredicted indirect branches excluding calls and returns.",
210         "CounterHTOff": "0,1,2,3,4,5,6,7"
211     },
212     {
213         "EventCode": "0x89",
214         "Counter": "0,1,2,3",
215         "UMask": "0xd0",
216         "EventName": "BR_MISP_EXEC.ALL_DIRECT_NEAR_CALL",
217         "SampleAfterValue": "200003",
218         "BriefDescription": "Speculative and retired mispredicted direct near calls.",
219         "CounterHTOff": "0,1,2,3,4,5,6,7"
220     },
221     {
222         "EventCode": "0x3C",
223         "Counter": "0,1,2,3",
224         "UMask": "0x0",
225         "EventName": "CPU_CLK_UNHALTED.THREAD_P",
226         "SampleAfterValue": "2000003",
227         "BriefDescription": "Thread cycles when thread is not in halt state.",
228         "CounterHTOff": "0,1,2,3,4,5,6,7"
229     },
230     {
231         "EventCode": "0xA8",
232         "Counter": "0,1,2,3",
233         "UMask": "0x1",
234         "EventName": "LSD.UOPS",
235         "SampleAfterValue": "2000003",
236         "BriefDescription": "Number of Uops delivered by the LSD.",
237         "CounterHTOff": "0,1,2,3,4,5,6,7"
238     },
239     {
240         "EventCode": "0xA8",
241         "Counter": "0,1,2,3",
242         "UMask": "0x1",
243         "EventName": "LSD.CYCLES_ACTIVE",
244         "SampleAfterValue": "2000003",
245         "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
246         "CounterMask": "1",
247         "CounterHTOff": "0,1,2,3,4,5,6,7"
248     },
249     {
250         "EventCode": "0x87",
251         "Counter": "0,1,2,3",
252         "UMask": "0x1",
253         "EventName": "ILD_STALL.LCP",
254         "SampleAfterValue": "2000003",
255         "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
256         "CounterHTOff": "0,1,2,3,4,5,6,7"
257     },
258     {
259         "EventCode": "0x87",
260         "Counter": "0,1,2,3",
261         "UMask": "0x4",
262         "EventName": "ILD_STALL.IQ_FULL",
263         "SampleAfterValue": "2000003",
264         "BriefDescription": "Stall cycles because IQ is full.",
265         "CounterHTOff": "0,1,2,3,4,5,6,7"
266     },
267     {
268         "EventCode": "0x0D",
269         "Counter": "0,1,2,3",
270         "UMask": "0x40",
271         "EventName": "INT_MISC.RAT_STALL_CYCLES",
272         "SampleAfterValue": "2000003",
273         "BriefDescription": "Cycles when Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the thread.",
274         "CounterHTOff": "0,1,2,3,4,5,6,7"
275     },
276     {
277         "EventCode": "0x59",
278         "Counter": "0,1,2,3",
279         "UMask": "0x20",
280         "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP",
281         "SampleAfterValue": "2000003",
282         "BriefDescription": "Increments the number of flags-merge uops in flight each cycle.",
283         "CounterHTOff": "0,1,2,3,4,5,6,7"
284     },
285     {
286         "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? 64 and IA-32 Architectures Optimization Reference Manual for more details about slow LEA instructions.",
287         "EventCode": "0x59",
288         "Counter": "0,1,2,3",
289         "UMask": "0x40",
290         "EventName": "PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW",
291         "SampleAfterValue": "2000003",
292         "BriefDescription": "Cycles with at least one slow LEA uop being allocated.",
293         "CounterHTOff": "0,1,2,3,4,5,6,7"
294     },
295     {
296         "EventCode": "0x59",
297         "Counter": "0,1,2,3",
298         "UMask": "0x80",
299         "EventName": "PARTIAL_RAT_STALLS.MUL_SINGLE_UOP",
300         "SampleAfterValue": "2000003",
301         "BriefDescription": "Multiply packed/scalar single precision uops allocated.",
302         "CounterHTOff": "0,1,2,3,4,5,6,7"
303     },
304     {
305         "EventCode": "0xA2",
306         "Counter": "0,1,2,3",
307         "UMask": "0x1",
308         "EventName": "RESOURCE_STALLS.ANY",
309         "SampleAfterValue": "2000003",
310         "BriefDescription": "Resource-related stall cycles.",
311         "CounterHTOff": "0,1,2,3,4,5,6,7"
312     },
313     {
314         "EventCode": "0xA2",
315         "Counter": "0,1,2,3",
316         "UMask": "0x2",
317         "EventName": "RESOURCE_STALLS.LB",
318         "SampleAfterValue": "2000003",
319         "BriefDescription": "Counts the cycles of stall due to lack of load buffers.",
320         "CounterHTOff": "0,1,2,3,4,5,6,7"
321     },
322     {
323         "EventCode": "0xA2",
324         "Counter": "0,1,2,3",
325         "UMask": "0x4",
326         "EventName": "RESOURCE_STALLS.RS",
327         "SampleAfterValue": "2000003",
328         "BriefDescription": "Cycles stalled due to no eligible RS entry available.",
329         "CounterHTOff": "0,1,2,3,4,5,6,7"
330     },
331     {
332         "EventCode": "0xA2",
333         "Counter": "0,1,2,3",
334         "UMask": "0x8",
335         "EventName": "RESOURCE_STALLS.SB",
336         "SampleAfterValue": "2000003",
337         "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
338         "CounterHTOff": "0,1,2,3,4,5,6,7"
339     },
340     {
341         "EventCode": "0xA2",
342         "Counter": "0,1,2,3",
343         "UMask": "0x10",
344         "EventName": "RESOURCE_STALLS.ROB",
345         "SampleAfterValue": "2000003",
346         "BriefDescription": "Cycles stalled due to re-order buffer full.",
347         "CounterHTOff": "0,1,2,3,4,5,6,7"
348     },
349     {
350         "EventCode": "0x5B",
351         "Counter": "0,1,2,3",
352         "UMask": "0x40",
353         "EventName": "RESOURCE_STALLS2.BOB_FULL",
354         "SampleAfterValue": "2000003",
355         "BriefDescription": "Cycles when Allocator is stalled if BOB is full and new branch needs it.",
356         "CounterHTOff": "0,1,2,3,4,5,6,7"
357     },
358     {
359         "PublicDescription": "This event counts the number of Uops issued by the front-end of the pipeilne to the back-end.",
360         "EventCode": "0x0E",
361         "Counter": "0,1,2,3",
362         "UMask": "0x1",
363         "EventName": "UOPS_ISSUED.ANY",
364         "SampleAfterValue": "2000003",
365         "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS).",
366         "CounterHTOff": "0,1,2,3,4,5,6,7"
367     },
368     {
369         "EventCode": "0x0E",
370         "Invert": "1",
371         "Counter": "0,1,2,3",
372         "UMask": "0x1",
373         "EventName": "UOPS_ISSUED.STALL_CYCLES",
374         "SampleAfterValue": "2000003",
375         "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread.",
376         "CounterMask": "1",
377         "CounterHTOff": "0,1,2,3"
378     },
379     {
380         "EventCode": "0x0E",
381         "Invert": "1",
382         "Counter": "0,1,2,3",
383         "UMask": "0x1",
384         "AnyThread": "1",
385         "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
386         "SampleAfterValue": "2000003",
387         "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads.",
388         "CounterMask": "1",
389         "CounterHTOff": "0,1,2,3"
390     },
391     {
392         "EventCode": "0x5E",
393         "Counter": "0,1,2,3",
394         "UMask": "0x1",
395         "EventName": "RS_EVENTS.EMPTY_CYCLES",
396         "SampleAfterValue": "2000003",
397         "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread.",
398         "CounterHTOff": "0,1,2,3,4,5,6,7"
399     },
400     {
401         "EventCode": "0xCC",
402         "Counter": "0,1,2,3",
403         "UMask": "0x20",
404         "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
405         "SampleAfterValue": "2000003",
406         "BriefDescription": "Count cases of saving new LBR.",
407         "CounterHTOff": "0,1,2,3,4,5,6,7"
408     },
409     {
410         "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.",
411         "EventCode": "0xC3",
412         "Counter": "0,1,2,3",
413         "UMask": "0x4",
414         "EventName": "MACHINE_CLEARS.SMC",
415         "SampleAfterValue": "100003",
416         "BriefDescription": "Self-modifying code (SMC) detected.",
417         "CounterHTOff": "0,1,2,3,4,5,6,7"
418     },
419     {
420         "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.",
421         "EventCode": "0xC3",
422         "Counter": "0,1,2,3",
423         "UMask": "0x20",
424         "EventName": "MACHINE_CLEARS.MASKMOV",
425         "SampleAfterValue": "100003",
426         "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.",
427         "CounterHTOff": "0,1,2,3,4,5,6,7"
428     },
429     {
430         "EventCode": "0xC0",
431         "Counter": "0,1,2,3",
432         "UMask": "0x0",
433         "EventName": "INST_RETIRED.ANY_P",
434         "SampleAfterValue": "2000003",
435         "BriefDescription": "Number of instructions retired. General Counter   - architectural event.",
436         "CounterHTOff": "0,1,2,3,4,5,6,7"
437     },
438     {
439         "PEBS": "1",
440         "PublicDescription": "This event counts the number of micro-ops retired.",
441         "EventCode": "0xC2",
442         "Counter": "0,1,2,3",
443         "UMask": "0x1",
444         "EventName": "UOPS_RETIRED.ALL",
445         "SampleAfterValue": "2000003",
446         "BriefDescription": "Actually retired uops.",
447         "CounterHTOff": "0,1,2,3,4,5,6,7"
448     },
449     {
450         "PEBS": "1",
451         "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.",
452         "EventCode": "0xC2",
453         "Counter": "0,1,2,3",
454         "UMask": "0x2",
455         "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
456         "SampleAfterValue": "2000003",
457         "BriefDescription": "Retirement slots used.",
458         "CounterHTOff": "0,1,2,3,4,5,6,7"
459     },
460     {
461         "EventCode": "0xC2",
462         "Invert": "1",
463         "Counter": "0,1,2,3",
464         "UMask": "0x1",
465         "EventName": "UOPS_RETIRED.STALL_CYCLES",
466         "SampleAfterValue": "2000003",
467         "BriefDescription": "Cycles without actually retired uops.",
468         "CounterMask": "1",
469         "CounterHTOff": "0,1,2,3"
470     },
471     {
472         "EventCode": "0xC2",
473         "Invert": "1",
474         "Counter": "0,1,2,3",
475         "UMask": "0x1",
476         "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
477         "SampleAfterValue": "2000003",
478         "BriefDescription": "Cycles with less than 10 actually retired uops.",
479         "CounterMask": "10",
480         "CounterHTOff": "0,1,2,3"
481     },
482     {
483         "PEBS": "1",
484         "EventCode": "0xC4",
485         "Counter": "0,1,2,3",
486         "UMask": "0x1",
487         "EventName": "BR_INST_RETIRED.CONDITIONAL",
488         "SampleAfterValue": "400009",
489         "BriefDescription": "Conditional branch instructions retired.",
490         "CounterHTOff": "0,1,2,3,4,5,6,7"
491     },
492     {
493         "PEBS": "1",
494         "EventCode": "0xC4",
495         "Counter": "0,1,2,3",
496         "UMask": "0x2",
497         "EventName": "BR_INST_RETIRED.NEAR_CALL",
498         "SampleAfterValue": "100007",
499         "BriefDescription": "Direct and indirect near call instructions retired.",
500         "CounterHTOff": "0,1,2,3,4,5,6,7"
501     },
502     {
503         "EventCode": "0xC4",
504         "Counter": "0,1,2,3",
505         "UMask": "0x0",
506         "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
507         "SampleAfterValue": "400009",
508         "BriefDescription": "All (macro) branch instructions retired.",
509         "CounterHTOff": "0,1,2,3,4,5,6,7"
510     },
511     {
512         "PEBS": "1",
513         "EventCode": "0xC4",
514         "Counter": "0,1,2,3",
515         "UMask": "0x8",
516         "EventName": "BR_INST_RETIRED.NEAR_RETURN",
517         "SampleAfterValue": "100007",
518         "BriefDescription": "Return instructions retired.",
519         "CounterHTOff": "0,1,2,3,4,5,6,7"
520     },
521     {
522         "EventCode": "0xC4",
523         "Counter": "0,1,2,3",
524         "UMask": "0x10",
525         "EventName": "BR_INST_RETIRED.NOT_TAKEN",
526         "SampleAfterValue": "400009",
527         "BriefDescription": "Not taken branch instructions retired.",
528         "CounterHTOff": "0,1,2,3,4,5,6,7"
529     },
530     {
531         "PEBS": "1",
532         "EventCode": "0xC4",
533         "Counter": "0,1,2,3",
534         "UMask": "0x20",
535         "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
536         "SampleAfterValue": "400009",
537         "BriefDescription": "Taken branch instructions retired.",
538         "CounterHTOff": "0,1,2,3,4,5,6,7"
539     },
540     {
541         "EventCode": "0xC4",
542         "Counter": "0,1,2,3",
543         "UMask": "0x40",
544         "EventName": "BR_INST_RETIRED.FAR_BRANCH",
545         "SampleAfterValue": "100007",
546         "BriefDescription": "Far branch instructions retired.",
547         "CounterHTOff": "0,1,2,3,4,5,6,7"
548     },
549     {
550         "PEBS": "2",
551         "EventCode": "0xC4",
552         "Counter": "0,1,2,3",
553         "UMask": "0x4",
554         "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
555         "SampleAfterValue": "400009",
556         "BriefDescription": "All (macro) branch instructions retired. (Precise Event - PEBS).",
557         "CounterHTOff": "0,1,2,3"
558     },
559     {
560         "PEBS": "1",
561         "EventCode": "0xC5",
562         "Counter": "0,1,2,3",
563         "UMask": "0x1",
564         "EventName": "BR_MISP_RETIRED.CONDITIONAL",
565         "SampleAfterValue": "400009",
566         "BriefDescription": "Mispredicted conditional branch instructions retired.",
567         "CounterHTOff": "0,1,2,3,4,5,6,7"
568     },
569     {
570         "PEBS": "1",
571         "EventCode": "0xC5",
572         "Counter": "0,1,2,3",
573         "UMask": "0x2",
574         "EventName": "BR_MISP_RETIRED.NEAR_CALL",
575         "SampleAfterValue": "100007",
576         "BriefDescription": "Direct and indirect mispredicted near call instructions retired.",
577         "CounterHTOff": "0,1,2,3,4,5,6,7"
578     },
579     {
580         "EventCode": "0xC5",
581         "Counter": "0,1,2,3",
582         "UMask": "0x0",
583         "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
584         "SampleAfterValue": "400009",
585         "BriefDescription": "All mispredicted macro branch instructions retired.",
586         "CounterHTOff": "0,1,2,3,4,5,6,7"
587     },
588     {
589         "PEBS": "1",
590         "EventCode": "0xC5",
591         "Counter": "0,1,2,3",
592         "UMask": "0x10",
593         "EventName": "BR_MISP_RETIRED.NOT_TAKEN",
594         "SampleAfterValue": "400009",
595         "BriefDescription": "Mispredicted not taken branch instructions retired.",
596         "CounterHTOff": "0,1,2,3,4,5,6,7"
597     },
598     {
599         "PEBS": "1",
600         "EventCode": "0xC5",
601         "Counter": "0,1,2,3",
602         "UMask": "0x20",
603         "EventName": "BR_MISP_RETIRED.TAKEN",
604         "SampleAfterValue": "400009",
605         "BriefDescription": "Mispredicted taken branch instructions retired.",
606         "CounterHTOff": "0,1,2,3,4,5,6,7"
607     },
608     {
609         "PEBS": "2",
610         "PublicDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS)",
611         "EventCode": "0xC5",
612         "Counter": "0,1,2,3",
613         "UMask": "0x4",
614         "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
615         "SampleAfterValue": "400009",
616         "BriefDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS).",
617         "CounterHTOff": "0,1,2,3"
618     },
619     {
620         "EventCode": "0xC1",
621         "Counter": "0,1,2,3",
622         "UMask": "0x2",
623         "EventName": "OTHER_ASSISTS.ITLB_MISS_RETIRED",
624         "SampleAfterValue": "100003",
625         "BriefDescription": "Retired instructions experiencing ITLB misses.",
626         "CounterHTOff": "0,1,2,3,4,5,6,7"
627     },
628     {
629         "EventCode": "0x14",
630         "Counter": "0,1,2,3",
631         "UMask": "0x1",
632         "EventName": "ARITH.FPU_DIV_ACTIVE",
633         "SampleAfterValue": "2000003",
634         "BriefDescription": "Cycles when divider is busy executing divide operations.",
635         "CounterHTOff": "0,1,2,3,4,5,6,7"
636     },
637     {
638         "PublicDescription": "This event counts the number of the divide operations executed.",
639         "EventCode": "0x14",
640         "Counter": "0,1,2,3",
641         "UMask": "0x1",
642         "EdgeDetect": "1",
643         "EventName": "ARITH.FPU_DIV",
644         "SampleAfterValue": "100003",
645         "BriefDescription": "Divide operations executed.",
646         "CounterMask": "1",
647         "CounterHTOff": "0,1,2,3,4,5,6,7"
648     },
649     {
650         "EventCode": "0xB1",
651         "Counter": "0,1,2,3",
652         "UMask": "0x1",
653         "EventName": "UOPS_DISPATCHED.THREAD",
654         "SampleAfterValue": "2000003",
655         "BriefDescription": "Uops dispatched per thread.",
656         "CounterHTOff": "0,1,2,3,4,5,6,7"
657     },
658     {
659         "EventCode": "0xB1",
660         "Counter": "0,1,2,3",
661         "UMask": "0x2",
662         "EventName": "UOPS_DISPATCHED.CORE",
663         "SampleAfterValue": "2000003",
664         "BriefDescription": "Uops dispatched from any thread.",
665         "CounterHTOff": "0,1,2,3,4,5,6,7"
666     },
667     {
668         "EventCode": "0xA1",
669         "Counter": "0,1,2,3",
670         "UMask": "0x1",
671         "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
672         "SampleAfterValue": "2000003",
673         "BriefDescription": "Cycles per thread when uops are dispatched to port 0.",
674         "CounterHTOff": "0,1,2,3,4,5,6,7"
675     },
676     {
677         "EventCode": "0xA1",
678         "Counter": "0,1,2,3",
679         "UMask": "0x2",
680         "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
681         "SampleAfterValue": "2000003",
682         "BriefDescription": "Cycles per thread when uops are dispatched to port 1.",
683         "CounterHTOff": "0,1,2,3,4,5,6,7"
684     },
685     {
686         "EventCode": "0xA1",
687         "Counter": "0,1,2,3",
688         "UMask": "0x40",
689         "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
690         "SampleAfterValue": "2000003",
691         "BriefDescription": "Cycles per thread when uops are dispatched to port 4.",
692         "CounterHTOff": "0,1,2,3,4,5,6,7"
693     },
694     {
695         "EventCode": "0xA1",
696         "Counter": "0,1,2,3",
697         "UMask": "0x80",
698         "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
699         "SampleAfterValue": "2000003",
700         "BriefDescription": "Cycles per thread when uops are dispatched to port 5.",
701         "CounterHTOff": "0,1,2,3,4,5,6,7"
702     },
703     {
704         "EventCode": "0xA3",
705         "Counter": "0,1,2,3",
706         "UMask": "0x4",
707         "EventName": "CYCLE_ACTIVITY.CYCLES_NO_DISPATCH",
708         "SampleAfterValue": "2000003",
709         "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.",
710         "CounterMask": "4",
711         "CounterHTOff": "0,1,2,3"
712     },
713     {
714         "EventCode": "0xA3",
715         "Counter": "2",
716         "UMask": "0x2",
717         "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING",
718         "SampleAfterValue": "2000003",
719         "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.",
720         "CounterMask": "2",
721         "CounterHTOff": "2"
722     },
723     {
724         "EventCode": "0xA3",
725         "Counter": "0,1,2,3",
726         "UMask": "0x1",
727         "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING",
728         "SampleAfterValue": "2000003",
729         "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.",
730         "CounterMask": "1",
731         "CounterHTOff": "0,1,2,3,4,5,6,7"
732     },
733     {
734         "EventCode": "0xA3",
735         "Counter": "2",
736         "UMask": "0x6",
737         "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING",
738         "SampleAfterValue": "2000003",
739         "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.",
740         "CounterMask": "6",
741         "CounterHTOff": "2"
742     },
743     {
744         "EventCode": "0xA3",
745         "Counter": "0,1,2,3",
746         "UMask": "0x5",
747         "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING",
748         "SampleAfterValue": "2000003",
749         "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.",
750         "CounterMask": "5",
751         "CounterHTOff": "0,1,2,3"
752     },
753     {
754         "EventCode": "0x4C",
755         "Counter": "0,1,2,3",
756         "UMask": "0x1",
757         "EventName": "LOAD_HIT_PRE.SW_PF",
758         "SampleAfterValue": "100003",
759         "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch.",
760         "CounterHTOff": "0,1,2,3,4,5,6,7"
761     },
762     {
763         "EventCode": "0x4C",
764         "Counter": "0,1,2,3",
765         "UMask": "0x2",
766         "EventName": "LOAD_HIT_PRE.HW_PF",
767         "SampleAfterValue": "100003",
768         "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch.",
769         "CounterHTOff": "0,1,2,3,4,5,6,7"
770     },
771     {
772         "EventCode": "0x03",
773         "Counter": "0,1,2,3",
774         "UMask": "0x1",
775         "EventName": "LD_BLOCKS.DATA_UNKNOWN",
776         "SampleAfterValue": "100003",
777         "BriefDescription": "Loads delayed due to SB blocks, preceding store operations with known addresses but unknown data.",
778         "CounterHTOff": "0,1,2,3,4,5,6,7"
779     },
780     {
781         "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? 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.",
782         "EventCode": "0x03",
783         "Counter": "0,1,2,3",
784         "UMask": "0x2",
785         "EventName": "LD_BLOCKS.STORE_FORWARD",
786         "SampleAfterValue": "100003",
787         "BriefDescription": "Cases when loads get true Block-on-Store blocking code preventing store forwarding.",
788         "CounterHTOff": "0,1,2,3,4,5,6,7"
789     },
790     {
791         "EventCode": "0x03",
792         "Counter": "0,1,2,3",
793         "UMask": "0x8",
794         "EventName": "LD_BLOCKS.NO_SR",
795         "SampleAfterValue": "100003",
796         "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.",
797         "CounterHTOff": "0,1,2,3,4,5,6,7"
798     },
799     {
800         "EventCode": "0x03",
801         "Counter": "0,1,2,3",
802         "UMask": "0x10",
803         "EventName": "LD_BLOCKS.ALL_BLOCK",
804         "SampleAfterValue": "100003",
805         "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).",
806         "CounterHTOff": "0,1,2,3,4,5,6,7"
807     },
808     {
809         "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.",
810         "EventCode": "0x07",
811         "Counter": "0,1,2,3",
812         "UMask": "0x1",
813         "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
814         "SampleAfterValue": "100003",
815         "BriefDescription": "False dependencies in MOB due to partial compare.",
816         "CounterHTOff": "0,1,2,3,4,5,6,7"
817     },
818     {
819         "EventCode": "0x07",
820         "Counter": "0,1,2,3",
821         "UMask": "0x8",
822         "EventName": "LD_BLOCKS_PARTIAL.ALL_STA_BLOCK",
823         "SampleAfterValue": "100003",
824         "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.",
825         "CounterHTOff": "0,1,2,3,4,5,6,7"
826     },
827     {
828         "EventCode": "0xB6",
829         "Counter": "0,1,2,3",
830         "UMask": "0x1",
831         "EventName": "AGU_BYPASS_CANCEL.COUNT",
832         "SampleAfterValue": "100003",
833         "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.",
834         "CounterHTOff": "0,1,2,3,4,5,6,7"
835     },
836     {
837         "EventCode": "0x3C",
838         "Counter": "0,1,2,3",
839         "UMask": "0x1",
840         "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
841         "SampleAfterValue": "2000003",
842         "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
843         "CounterHTOff": "0,1,2,3,4,5,6,7"
844     },
845     {
846         "EventCode": "0x3C",
847         "Counter": "0,1,2,3",
848         "UMask": "0x2",
849         "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
850         "SampleAfterValue": "2000003",
851         "BriefDescription": "Count XClk pulses when this thread is unhalted and the other is halted.",
852         "CounterHTOff": "0,1,2,3"
853     },
854     {
855         "EventCode": "0xA1",
856         "Counter": "0,1,2,3",
857         "UMask": "0x1",
858         "AnyThread": "1",
859         "EventName": "UOPS_DISPATCHED_PORT.PORT_0_CORE",
860         "SampleAfterValue": "2000003",
861         "BriefDescription": "Cycles per core when uops are dispatched to port 0.",
862         "CounterHTOff": "0,1,2,3,4,5,6,7"
863     },
864     {
865         "EventCode": "0xA1",
866         "Counter": "0,1,2,3",
867         "UMask": "0x2",
868         "AnyThread": "1",
869         "EventName": "UOPS_DISPATCHED_PORT.PORT_1_CORE",
870         "SampleAfterValue": "2000003",
871         "BriefDescription": "Cycles per core when uops are dispatched to port 1.",
872         "CounterHTOff": "0,1,2,3,4,5,6,7"
873     },
874     {
875         "EventCode": "0xA1",
876         "Counter": "0,1,2,3",
877         "UMask": "0x40",
878         "AnyThread": "1",
879         "EventName": "UOPS_DISPATCHED_PORT.PORT_4_CORE",
880         "SampleAfterValue": "2000003",
881         "BriefDescription": "Cycles per core when uops are dispatched to port 4.",
882         "CounterHTOff": "0,1,2,3,4,5,6,7"
883     },
884     {
885         "EventCode": "0xA1",
886         "Counter": "0,1,2,3",
887         "UMask": "0x80",
888         "AnyThread": "1",
889         "EventName": "UOPS_DISPATCHED_PORT.PORT_5_CORE",
890         "SampleAfterValue": "2000003",
891         "BriefDescription": "Cycles per core when uops are dispatched to port 5.",
892         "CounterHTOff": "0,1,2,3,4,5,6,7"
893     },
894     {
895         "EventCode": "0xA1",
896         "Counter": "0,1,2,3",
897         "UMask": "0xc",
898         "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
899         "SampleAfterValue": "2000003",
900         "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 2.",
901         "CounterHTOff": "0,1,2,3,4,5,6,7"
902     },
903     {
904         "EventCode": "0xA1",
905         "Counter": "0,1,2,3",
906         "UMask": "0x30",
907         "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
908         "SampleAfterValue": "2000003",
909         "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 3.",
910         "CounterHTOff": "0,1,2,3,4,5,6,7"
911     },
912     {
913         "EventCode": "0xA1",
914         "Counter": "0,1,2,3",
915         "UMask": "0xc",
916         "AnyThread": "1",
917         "EventName": "UOPS_DISPATCHED_PORT.PORT_2_CORE",
918         "SampleAfterValue": "2000003",
919         "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 2.",
920         "CounterHTOff": "0,1,2,3,4,5,6,7"
921     },
922     {
923         "EventCode": "0xA1",
924         "Counter": "0,1,2,3",
925         "UMask": "0x30",
926         "AnyThread": "1",
927         "EventName": "UOPS_DISPATCHED_PORT.PORT_3_CORE",
928         "SampleAfterValue": "2000003",
929         "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 3.",
930         "CounterHTOff": "0,1,2,3,4,5,6,7"
931     },
932     {
933         "PEBS": "2",
934         "EventCode": "0xC0",
935         "Counter": "1",
936         "UMask": "0x1",
937         "EventName": "INST_RETIRED.PREC_DIST",
938         "SampleAfterValue": "2000003",
939         "BriefDescription": "Instructions retired. (Precise Event - PEBS).",
940         "TakenAlone": "1",
941         "CounterHTOff": "1"
942     },
943     {
944         "EventCode": "0x5B",
945         "Counter": "0,1,2,3",
946         "UMask": "0xf",
947         "EventName": "RESOURCE_STALLS2.ALL_PRF_CONTROL",
948         "SampleAfterValue": "2000003",
949         "BriefDescription": "Resource stalls2 control structures full for physical registers.",
950         "CounterHTOff": "0,1,2,3,4,5,6,7"
951     },
952     {
953         "EventCode": "0x5B",
954         "Counter": "0,1,2,3",
955         "UMask": "0xc",
956         "EventName": "RESOURCE_STALLS2.ALL_FL_EMPTY",
957         "SampleAfterValue": "2000003",
958         "BriefDescription": "Cycles with either free list is empty.",
959         "CounterHTOff": "0,1,2,3,4,5,6,7"
960     },
961     {
962         "EventCode": "0xA2",
963         "Counter": "0,1,2,3",
964         "UMask": "0xe",
965         "EventName": "RESOURCE_STALLS.MEM_RS",
966         "SampleAfterValue": "2000003",
967         "BriefDescription": "Resource stalls due to memory buffers or Reservation Station (RS) being fully utilized.",
968         "CounterHTOff": "0,1,2,3,4,5,6,7"
969     },
970     {
971         "EventCode": "0xA2",
972         "Counter": "0,1,2,3",
973         "UMask": "0xf0",
974         "EventName": "RESOURCE_STALLS.OOO_RSRC",
975         "SampleAfterValue": "2000003",
976         "BriefDescription": "Resource stalls due to Rob being full, FCSW, MXCSR and OTHER.",
977         "CounterHTOff": "0,1,2,3,4,5,6,7"
978     },
979     {
980         "EventCode": "0x5B",
981         "Counter": "0,1,2,3",
982         "UMask": "0x4f",
983         "EventName": "RESOURCE_STALLS2.OOO_RSRC",
984         "SampleAfterValue": "2000003",
985         "BriefDescription": "Resource stalls out of order resources full.",
986         "CounterHTOff": "0,1,2,3,4,5,6,7"
987     },
988     {
989         "EventCode": "0xA2",
990         "Counter": "0,1,2,3",
991         "UMask": "0xa",
992         "EventName": "RESOURCE_STALLS.LB_SB",
993         "SampleAfterValue": "2000003",
994         "BriefDescription": "Resource stalls due to load or store buffers all being in use.",
995         "CounterHTOff": "0,1,2,3,4,5,6,7"
996     },
997     {
998         "EventCode": "0x0D",
999         "Counter": "0,1,2,3",
1000         "UMask": "0x3",
1001         "EventName": "INT_MISC.RECOVERY_CYCLES",
1002         "SampleAfterValue": "2000003",
1003         "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...).",
1004         "CounterMask": "1",
1005         "CounterHTOff": "0,1,2,3,4,5,6,7"
1006     },
1007     {
1008         "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? 64 and IA-32 Architectures Optimization Reference Manual.",
1009         "EventCode": "0x59",
1010         "Counter": "0,1,2,3",
1011         "UMask": "0x20",
1012         "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP_CYCLES",
1013         "SampleAfterValue": "2000003",
1014         "BriefDescription": "Performance sensitive flags-merging uops added by Sandy Bridge u-arch.",
1015         "CounterMask": "1",
1016         "CounterHTOff": "0,1,2,3,4,5,6,7"
1017     },
1018     {
1019         "EventCode": "0x0D",
1020         "Counter": "0,1,2,3",
1021         "UMask": "0x3",
1022         "EdgeDetect": "1",
1023         "EventName": "INT_MISC.RECOVERY_STALLS_COUNT",
1024         "SampleAfterValue": "2000003",
1025         "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...).",
1026         "CounterMask": "1",
1027         "CounterHTOff": "0,1,2,3,4,5,6,7"
1028     },
1029     {
1030         "EventCode": "0xE6",
1031         "Counter": "0,1,2,3",
1032         "UMask": "0x1f",
1033         "EventName": "BACLEARS.ANY",
1034         "SampleAfterValue": "100003",
1035         "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.",
1036         "CounterHTOff": "0,1,2,3,4,5,6,7"
1037     },
1038     {
1039         "EventCode": "0x88",
1040         "Counter": "0,1,2,3",
1041         "UMask": "0xff",
1042         "EventName": "BR_INST_EXEC.ALL_BRANCHES",
1043         "SampleAfterValue": "200003",
1044         "BriefDescription": "Speculative and retired  branches.",
1045         "CounterHTOff": "0,1,2,3,4,5,6,7"
1046     },
1047     {
1048         "EventCode": "0x89",
1049         "Counter": "0,1,2,3",
1050         "UMask": "0xff",
1051         "EventName": "BR_MISP_EXEC.ALL_BRANCHES",
1052         "SampleAfterValue": "200003",
1053         "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
1054         "CounterHTOff": "0,1,2,3,4,5,6,7"
1055     },
1056     {
1057         "EventCode": "0xC2",
1058         "Invert": "1",
1059         "Counter": "0,1,2,3",
1060         "UMask": "0x1",
1061         "EventName": "UOPS_RETIRED.CORE_STALL_CYCLES",
1062         "SampleAfterValue": "2000003",
1063         "BriefDescription": "Cycles without actually retired uops.",
1064         "CounterMask": "1",
1065         "CounterHTOff": "0,1,2,3"
1066     },
1067     {
1068         "EventCode": "0xA8",
1069         "Counter": "0,1,2,3",
1070         "UMask": "0x1",
1071         "EventName": "LSD.CYCLES_4_UOPS",
1072         "SampleAfterValue": "2000003",
1073         "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
1074         "CounterMask": "4",
1075         "CounterHTOff": "0,1,2,3,4,5,6,7"
1076     },
1077     {
1078         "EventCode": "0xc3",
1079         "Counter": "0,1,2,3",
1080         "UMask": "0x1",
1081         "EdgeDetect": "1",
1082         "EventName": "MACHINE_CLEARS.COUNT",
1083         "SampleAfterValue": "100003",
1084         "BriefDescription": "Number of machine clears (nukes) of any type.",
1085         "CounterMask": "1",
1086         "CounterHTOff": "0,1,2,3,4,5,6,7"
1087     },
1088     {
1089         "EventCode": "0x5E",
1090         "Invert": "1",
1091         "Counter": "0,1,2,3",
1092         "UMask": "0x1",
1093         "EdgeDetect": "1",
1094         "EventName": "RS_EVENTS.EMPTY_END",
1095         "SampleAfterValue": "2000003",
1096         "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
1097         "CounterMask": "1",
1098         "CounterHTOff": "0,1,2,3,4,5,6,7"
1099     },
1100     {
1101         "EventCode": "0x00",
1102         "Counter": "Fixed counter 2",
1103         "UMask": "0x2",
1104         "AnyThread": "1",
1105         "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
1106         "SampleAfterValue": "2000003",
1107         "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
1108         "CounterHTOff": "Fixed counter 2"
1109     },
1110     {
1111         "EventCode": "0x3C",
1112         "Counter": "0,1,2,3",
1113         "UMask": "0x0",
1114         "AnyThread": "1",
1115         "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
1116         "SampleAfterValue": "2000003",
1117         "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
1118         "CounterHTOff": "0,1,2,3,4,5,6,7"
1119     },
1120     {
1121         "EventCode": "0x3C",
1122         "Counter": "0,1,2,3",
1123         "UMask": "0x1",
1124         "AnyThread": "1",
1125         "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
1126         "SampleAfterValue": "2000003",
1127         "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
1128         "CounterHTOff": "0,1,2,3,4,5,6,7"
1129     },
1130     {
1131         "EventCode": "0x0D",
1132         "Counter": "0,1,2,3",
1133         "UMask": "0x3",
1134         "AnyThread": "1",
1135         "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
1136         "SampleAfterValue": "2000003",
1137         "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).",
1138         "CounterMask": "1",
1139         "CounterHTOff": "0,1,2,3,4,5,6,7"
1140     },
1141     {
1142         "EventCode": "0xB1",
1143         "Counter": "0,1,2,3",
1144         "UMask": "0x2",
1145         "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
1146         "SampleAfterValue": "2000003",
1147         "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
1148         "CounterMask": "1",
1149         "CounterHTOff": "0,1,2,3,4,5,6,7"
1150     },
1151     {
1152         "EventCode": "0xB1",
1153         "Counter": "0,1,2,3",
1154         "UMask": "0x2",
1155         "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
1156         "SampleAfterValue": "2000003",
1157         "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
1158         "CounterMask": "2",
1159         "CounterHTOff": "0,1,2,3,4,5,6,7"
1160     },
1161     {
1162         "EventCode": "0xB1",
1163         "Counter": "0,1,2,3",
1164         "UMask": "0x2",
1165         "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
1166         "SampleAfterValue": "2000003",
1167         "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
1168         "CounterMask": "3",
1169         "CounterHTOff": "0,1,2,3,4,5,6,7"
1170     },
1171     {
1172         "EventCode": "0xB1",
1173         "Counter": "0,1,2,3",
1174         "UMask": "0x2",
1175         "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
1176         "SampleAfterValue": "2000003",
1177         "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
1178         "CounterMask": "4",
1179         "CounterHTOff": "0,1,2,3,4,5,6,7"
1180     },
1181     {
1182         "EventCode": "0xB1",
1183         "Invert": "1",
1184         "Counter": "0,1,2,3",
1185         "UMask": "0x2",
1186         "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
1187         "SampleAfterValue": "2000003",
1188         "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
1189         "CounterHTOff": "0,1,2,3,4,5,6,7"
1190     },
1191     {
1192         "PublicDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
1193         "EventCode": "0x3C",
1194         "Counter": "0,1,2,3",
1195         "UMask": "0x1",
1196         "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
1197         "SampleAfterValue": "2000003",
1198         "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
1199         "CounterHTOff": "0,1,2,3,4,5,6,7"
1200     },
1201     {
1202         "EventCode": "0x3C",
1203         "Counter": "0,1,2,3",
1204         "UMask": "0x1",
1205         "AnyThread": "1",
1206         "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
1207         "SampleAfterValue": "2000003",
1208         "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
1209         "CounterHTOff": "0,1,2,3,4,5,6,7"
1210     },
1211     {
1212         "EventCode": "0x3C",
1213         "Counter": "0,1,2,3",
1214         "UMask": "0x2",
1215         "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
1216         "SampleAfterValue": "2000003",
1217         "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
1218         "CounterHTOff": "0,1,2,3,4,5,6,7"
1219     }