1[
2    {
3        "BriefDescription": "Bogus branches",
4        "EventCode": "0xE4",
5        "EventName": "BOGUS_BR",
6        "SampleAfterValue": "2000000",
7        "UMask": "0x1"
8    },
9    {
10        "BriefDescription": "Branch instructions decoded",
11        "EventCode": "0xE0",
12        "EventName": "BR_INST_DECODED",
13        "SampleAfterValue": "2000000",
14        "UMask": "0x1"
15    },
16    {
17        "BriefDescription": "Retired branch instructions.",
18        "EventCode": "0xC4",
19        "EventName": "BR_INST_RETIRED.ANY",
20        "SampleAfterValue": "2000000"
21    },
22    {
23        "BriefDescription": "Retired branch instructions.",
24        "EventCode": "0xC4",
25        "EventName": "BR_INST_RETIRED.ANY1",
26        "SampleAfterValue": "2000000",
27        "UMask": "0xf"
28    },
29    {
30        "BriefDescription": "Retired mispredicted branch instructions (precise event).",
31        "EventCode": "0xC5",
32        "EventName": "BR_INST_RETIRED.MISPRED",
33        "PEBS": "1",
34        "SampleAfterValue": "200000"
35    },
36    {
37        "BriefDescription": "Retired branch instructions that were mispredicted not-taken.",
38        "EventCode": "0xC4",
39        "EventName": "BR_INST_RETIRED.MISPRED_NOT_TAKEN",
40        "SampleAfterValue": "200000",
41        "UMask": "0x2"
42    },
43    {
44        "BriefDescription": "Retired branch instructions that were mispredicted taken.",
45        "EventCode": "0xC4",
46        "EventName": "BR_INST_RETIRED.MISPRED_TAKEN",
47        "SampleAfterValue": "200000",
48        "UMask": "0x8"
49    },
50    {
51        "BriefDescription": "Retired branch instructions that were predicted not-taken.",
52        "EventCode": "0xC4",
53        "EventName": "BR_INST_RETIRED.PRED_NOT_TAKEN",
54        "SampleAfterValue": "2000000",
55        "UMask": "0x1"
56    },
57    {
58        "BriefDescription": "Retired branch instructions that were predicted taken.",
59        "EventCode": "0xC4",
60        "EventName": "BR_INST_RETIRED.PRED_TAKEN",
61        "SampleAfterValue": "2000000",
62        "UMask": "0x4"
63    },
64    {
65        "BriefDescription": "Retired taken branch instructions.",
66        "EventCode": "0xC4",
67        "EventName": "BR_INST_RETIRED.TAKEN",
68        "SampleAfterValue": "2000000",
69        "UMask": "0xc"
70    },
71    {
72        "BriefDescription": "All macro conditional branch instructions.",
73        "EventCode": "0x88",
74        "EventName": "BR_INST_TYPE_RETIRED.COND",
75        "SampleAfterValue": "2000000",
76        "UMask": "0x1"
77    },
78    {
79        "BriefDescription": "Only taken macro conditional branch instructions",
80        "EventCode": "0x88",
81        "EventName": "BR_INST_TYPE_RETIRED.COND_TAKEN",
82        "SampleAfterValue": "2000000",
83        "UMask": "0x41"
84    },
85    {
86        "BriefDescription": "All non-indirect calls",
87        "EventCode": "0x88",
88        "EventName": "BR_INST_TYPE_RETIRED.DIR_CALL",
89        "SampleAfterValue": "2000000",
90        "UMask": "0x10"
91    },
92    {
93        "BriefDescription": "All indirect branches that are not calls.",
94        "EventCode": "0x88",
95        "EventName": "BR_INST_TYPE_RETIRED.IND",
96        "SampleAfterValue": "2000000",
97        "UMask": "0x4"
98    },
99    {
100        "BriefDescription": "All indirect calls, including both register and memory indirect.",
101        "EventCode": "0x88",
102        "EventName": "BR_INST_TYPE_RETIRED.IND_CALL",
103        "SampleAfterValue": "2000000",
104        "UMask": "0x20"
105    },
106    {
107        "BriefDescription": "All indirect branches that have a return mnemonic",
108        "EventCode": "0x88",
109        "EventName": "BR_INST_TYPE_RETIRED.RET",
110        "SampleAfterValue": "2000000",
111        "UMask": "0x8"
112    },
113    {
114        "BriefDescription": "All macro unconditional branch instructions, excluding calls and indirects",
115        "EventCode": "0x88",
116        "EventName": "BR_INST_TYPE_RETIRED.UNCOND",
117        "SampleAfterValue": "2000000",
118        "UMask": "0x2"
119    },
120    {
121        "BriefDescription": "Mispredicted cond branch instructions retired",
122        "EventCode": "0x89",
123        "EventName": "BR_MISSP_TYPE_RETIRED.COND",
124        "SampleAfterValue": "200000",
125        "UMask": "0x1"
126    },
127    {
128        "BriefDescription": "Mispredicted and taken cond branch instructions retired",
129        "EventCode": "0x89",
130        "EventName": "BR_MISSP_TYPE_RETIRED.COND_TAKEN",
131        "SampleAfterValue": "200000",
132        "UMask": "0x11"
133    },
134    {
135        "BriefDescription": "Mispredicted ind branches that are not calls",
136        "EventCode": "0x89",
137        "EventName": "BR_MISSP_TYPE_RETIRED.IND",
138        "SampleAfterValue": "200000",
139        "UMask": "0x2"
140    },
141    {
142        "BriefDescription": "Mispredicted indirect calls, including both register and memory indirect.",
143        "EventCode": "0x89",
144        "EventName": "BR_MISSP_TYPE_RETIRED.IND_CALL",
145        "SampleAfterValue": "200000",
146        "UMask": "0x8"
147    },
148    {
149        "BriefDescription": "Mispredicted return branches",
150        "EventCode": "0x89",
151        "EventName": "BR_MISSP_TYPE_RETIRED.RETURN",
152        "SampleAfterValue": "200000",
153        "UMask": "0x4"
154    },
155    {
156        "BriefDescription": "Bus cycles when core is not halted",
157        "EventCode": "0x3C",
158        "EventName": "CPU_CLK_UNHALTED.BUS",
159        "SampleAfterValue": "200000",
160        "UMask": "0x1"
161    },
162    {
163        "BriefDescription": "Core cycles when core is not halted",
164        "EventCode": "0xA",
165        "EventName": "CPU_CLK_UNHALTED.CORE",
166        "SampleAfterValue": "2000000"
167    },
168    {
169        "BriefDescription": "Core cycles when core is not halted",
170        "EventCode": "0x3C",
171        "EventName": "CPU_CLK_UNHALTED.CORE_P",
172        "SampleAfterValue": "2000000"
173    },
174    {
175        "BriefDescription": "Reference cycles when core is not halted.",
176        "EventCode": "0xA",
177        "EventName": "CPU_CLK_UNHALTED.REF",
178        "SampleAfterValue": "2000000"
179    },
180    {
181        "BriefDescription": "Cycles the divider is busy.",
182        "EventCode": "0x14",
183        "EventName": "CYCLES_DIV_BUSY",
184        "SampleAfterValue": "2000000",
185        "UMask": "0x1"
186    },
187    {
188        "BriefDescription": "Divide operations retired",
189        "EventCode": "0x13",
190        "EventName": "DIV.AR",
191        "SampleAfterValue": "2000000",
192        "UMask": "0x81"
193    },
194    {
195        "BriefDescription": "Divide operations executed.",
196        "EventCode": "0x13",
197        "EventName": "DIV.S",
198        "SampleAfterValue": "2000000",
199        "UMask": "0x1"
200    },
201    {
202        "BriefDescription": "Instructions retired.",
203        "EventCode": "0xA",
204        "EventName": "INST_RETIRED.ANY",
205        "SampleAfterValue": "2000000"
206    },
207    {
208        "BriefDescription": "Instructions retired (precise event).",
209        "EventCode": "0xC0",
210        "EventName": "INST_RETIRED.ANY_P",
211        "PEBS": "2",
212        "SampleAfterValue": "2000000"
213    },
214    {
215        "BriefDescription": "Self-Modifying Code detected.",
216        "EventCode": "0xC3",
217        "EventName": "MACHINE_CLEARS.SMC",
218        "SampleAfterValue": "200000",
219        "UMask": "0x1"
220    },
221    {
222        "BriefDescription": "Multiply operations retired",
223        "EventCode": "0x12",
224        "EventName": "MUL.AR",
225        "SampleAfterValue": "2000000",
226        "UMask": "0x81"
227    },
228    {
229        "BriefDescription": "Multiply operations executed.",
230        "EventCode": "0x12",
231        "EventName": "MUL.S",
232        "SampleAfterValue": "2000000",
233        "UMask": "0x1"
234    },
235    {
236        "BriefDescription": "Micro-op reissues for any cause",
237        "EventCode": "0x3",
238        "EventName": "REISSUE.ANY",
239        "SampleAfterValue": "200000",
240        "UMask": "0x7f"
241    },
242    {
243        "BriefDescription": "Micro-op reissues for any cause (At Retirement)",
244        "EventCode": "0x3",
245        "EventName": "REISSUE.ANY.AR",
246        "SampleAfterValue": "200000",
247        "UMask": "0xff"
248    },
249    {
250        "BriefDescription": "Micro-op reissues on a store-load collision",
251        "EventCode": "0x3",
252        "EventName": "REISSUE.OVERLAP_STORE",
253        "SampleAfterValue": "200000",
254        "UMask": "0x1"
255    },
256    {
257        "BriefDescription": "Micro-op reissues on a store-load collision (At Retirement)",
258        "EventCode": "0x3",
259        "EventName": "REISSUE.OVERLAP_STORE.AR",
260        "SampleAfterValue": "200000",
261        "UMask": "0x81"
262    },
263    {
264        "BriefDescription": "Cycles issue is stalled due to div busy.",
265        "EventCode": "0xDC",
266        "EventName": "RESOURCE_STALLS.DIV_BUSY",
267        "SampleAfterValue": "2000000",
268        "UMask": "0x2"
269    },
270    {
271        "BriefDescription": "All store forwards",
272        "EventCode": "0x2",
273        "EventName": "STORE_FORWARDS.ANY",
274        "SampleAfterValue": "200000",
275        "UMask": "0x83"
276    },
277    {
278        "BriefDescription": "Good store forwards",
279        "EventCode": "0x2",
280        "EventName": "STORE_FORWARDS.GOOD",
281        "SampleAfterValue": "200000",
282        "UMask": "0x81"
283    },
284    {
285        "BriefDescription": "Micro-ops retired.",
286        "EventCode": "0xC2",
287        "EventName": "UOPS_RETIRED.ANY",
288        "SampleAfterValue": "2000000",
289        "UMask": "0x10"
290    },
291    {
292        "BriefDescription": "Cycles no micro-ops retired.",
293        "EventCode": "0xC2",
294        "EventName": "UOPS_RETIRED.STALLED_CYCLES",
295        "SampleAfterValue": "2000000",
296        "UMask": "0x10"
297    },
298    {
299        "BriefDescription": "Periods no micro-ops retired.",
300        "EventCode": "0xC2",
301        "EventName": "UOPS_RETIRED.STALLS",
302        "SampleAfterValue": "2000000",
303        "UMask": "0x10"
304    }
305]
306