xref: /freebsd/lib/libpmc/pmu-events/arch/x86/broadwellx/virtual-memory.json (revision cddbc3b40812213ff00041f79174cac0be360a2a)
1[
2    {
3        "EventCode": "0x08",
4        "UMask": "0x1",
5        "BriefDescription": "Load misses in all DTLB levels that cause page walks",
6        "Counter": "0,1,2,3",
7        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
8        "Errata": "BDM69",
9        "PublicDescription": "This event counts load misses in all DTLB levels that cause page walks of any page size (4K/2M/4M/1G).",
10        "SampleAfterValue": "100003",
11        "CounterHTOff": "0,1,2,3,4,5,6,7"
12    },
13    {
14        "EventCode": "0x08",
15        "UMask": "0x2",
16        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes (4K).",
17        "Counter": "0,1,2,3",
18        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
19        "Errata": "BDM69",
20        "PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page walk (4K page size). The page walk can end with or without a fault.",
21        "SampleAfterValue": "2000003",
22        "CounterHTOff": "0,1,2,3,4,5,6,7"
23    },
24    {
25        "EventCode": "0x08",
26        "UMask": "0x4",
27        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes (2M/4M).",
28        "Counter": "0,1,2,3",
29        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
30        "Errata": "BDM69",
31        "PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page walk (2M and 4M page sizes). The page walk can end with or without a fault.",
32        "SampleAfterValue": "2000003",
33        "CounterHTOff": "0,1,2,3,4,5,6,7"
34    },
35    {
36        "EventCode": "0x08",
37        "UMask": "0x8",
38        "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (1G)",
39        "Counter": "0,1,2,3",
40        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
41        "Errata": "BDM69",
42        "PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page walk (1G  page size). The page walk can end with or without a fault.",
43        "SampleAfterValue": "2000003",
44        "CounterHTOff": "0,1,2,3,4,5,6,7"
45    },
46    {
47        "EventCode": "0x08",
48        "UMask": "0xe",
49        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.",
50        "Counter": "0,1,2,3",
51        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
52        "Errata": "BDM69",
53        "SampleAfterValue": "100003",
54        "CounterHTOff": "0,1,2,3,4,5,6,7"
55    },
56    {
57        "EventCode": "0x08",
58        "UMask": "0x10",
59        "BriefDescription": "Cycles when PMH is busy with page walks",
60        "Counter": "0,1,2,3",
61        "EventName": "DTLB_LOAD_MISSES.WALK_DURATION",
62        "Errata": "BDM69",
63        "PublicDescription": "This event counts the number of cycles while PMH is busy with the page walk.",
64        "SampleAfterValue": "2000003",
65        "CounterHTOff": "0,1,2,3,4,5,6,7"
66    },
67    {
68        "EventCode": "0x08",
69        "UMask": "0x20",
70        "BriefDescription": "Load misses that miss the  DTLB and hit the STLB (4K).",
71        "Counter": "0,1,2,3",
72        "EventName": "DTLB_LOAD_MISSES.STLB_HIT_4K",
73        "SampleAfterValue": "2000003",
74        "CounterHTOff": "0,1,2,3,4,5,6,7"
75    },
76    {
77        "EventCode": "0x08",
78        "UMask": "0x40",
79        "BriefDescription": "Load misses that miss the  DTLB and hit the STLB (2M).",
80        "Counter": "0,1,2,3",
81        "EventName": "DTLB_LOAD_MISSES.STLB_HIT_2M",
82        "SampleAfterValue": "2000003",
83        "CounterHTOff": "0,1,2,3,4,5,6,7"
84    },
85    {
86        "EventCode": "0x08",
87        "UMask": "0x60",
88        "BriefDescription": "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
89        "Counter": "0,1,2,3",
90        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
91        "SampleAfterValue": "2000003",
92        "CounterHTOff": "0,1,2,3,4,5,6,7"
93    },
94    {
95        "EventCode": "0x49",
96        "UMask": "0x1",
97        "BriefDescription": "Store misses in all DTLB levels that cause page walks",
98        "Counter": "0,1,2,3",
99        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
100        "Errata": "BDM69",
101        "PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of any page size (4K/2M/4M/1G).",
102        "SampleAfterValue": "100003",
103        "CounterHTOff": "0,1,2,3,4,5,6,7"
104    },
105    {
106        "EventCode": "0x49",
107        "UMask": "0x2",
108        "BriefDescription": "Store miss in all TLB levels causes a page walk that completes. (4K)",
109        "Counter": "0,1,2,3",
110        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
111        "Errata": "BDM69",
112        "PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (4K page size). The page walk can end with or without a fault.",
113        "SampleAfterValue": "100003",
114        "CounterHTOff": "0,1,2,3,4,5,6,7"
115    },
116    {
117        "EventCode": "0x49",
118        "UMask": "0x4",
119        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks (2M/4M)",
120        "Counter": "0,1,2,3",
121        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
122        "Errata": "BDM69",
123        "PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (2M and 4M page sizes). The page walk can end with or without a fault.",
124        "SampleAfterValue": "100003",
125        "CounterHTOff": "0,1,2,3,4,5,6,7"
126    },
127    {
128        "EventCode": "0x49",
129        "UMask": "0x8",
130        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks (1G)",
131        "Counter": "0,1,2,3",
132        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
133        "Errata": "BDM69",
134        "PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (1G  page size). The page walk can end with or without a fault.",
135        "SampleAfterValue": "100003",
136        "CounterHTOff": "0,1,2,3,4,5,6,7"
137    },
138    {
139        "EventCode": "0x49",
140        "UMask": "0xe",
141        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
142        "Counter": "0,1,2,3",
143        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
144        "Errata": "BDM69",
145        "SampleAfterValue": "100003",
146        "CounterHTOff": "0,1,2,3,4,5,6,7"
147    },
148    {
149        "EventCode": "0x49",
150        "UMask": "0x10",
151        "BriefDescription": "Cycles when PMH is busy with page walks",
152        "Counter": "0,1,2,3",
153        "EventName": "DTLB_STORE_MISSES.WALK_DURATION",
154        "Errata": "BDM69",
155        "PublicDescription": "This event counts the number of cycles while PMH is busy with the page walk.",
156        "SampleAfterValue": "100003",
157        "CounterHTOff": "0,1,2,3,4,5,6,7"
158    },
159    {
160        "EventCode": "0x49",
161        "UMask": "0x20",
162        "BriefDescription": "Store misses that miss the  DTLB and hit the STLB (4K).",
163        "Counter": "0,1,2,3",
164        "EventName": "DTLB_STORE_MISSES.STLB_HIT_4K",
165        "SampleAfterValue": "100003",
166        "CounterHTOff": "0,1,2,3,4,5,6,7"
167    },
168    {
169        "EventCode": "0x49",
170        "UMask": "0x40",
171        "BriefDescription": "Store misses that miss the  DTLB and hit the STLB (2M).",
172        "Counter": "0,1,2,3",
173        "EventName": "DTLB_STORE_MISSES.STLB_HIT_2M",
174        "SampleAfterValue": "100003",
175        "CounterHTOff": "0,1,2,3,4,5,6,7"
176    },
177    {
178        "EventCode": "0x49",
179        "UMask": "0x60",
180        "BriefDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
181        "Counter": "0,1,2,3",
182        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
183        "SampleAfterValue": "100003",
184        "CounterHTOff": "0,1,2,3,4,5,6,7"
185    },
186    {
187        "EventCode": "0x4F",
188        "UMask": "0x10",
189        "BriefDescription": "Cycle count for an Extended Page table walk.",
190        "Counter": "0,1,2,3",
191        "EventName": "EPT.WALK_CYCLES",
192        "PublicDescription": "This event counts cycles for an extended page table walk. The Extended Page directory cache differs from standard TLB caches by the operating system that use it. Virtual machine operating systems use the extended page directory cache, while guest operating systems use the standard TLB caches.",
193        "SampleAfterValue": "2000003",
194        "CounterHTOff": "0,1,2,3,4,5,6,7"
195    },
196    {
197        "EventCode": "0x85",
198        "UMask": "0x1",
199        "BriefDescription": "Misses at all ITLB levels that cause page walks",
200        "Counter": "0,1,2,3",
201        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
202        "Errata": "BDM69",
203        "PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of any page size (4K/2M/4M/1G).",
204        "SampleAfterValue": "100003",
205        "CounterHTOff": "0,1,2,3,4,5,6,7"
206    },
207    {
208        "EventCode": "0x85",
209        "UMask": "0x2",
210        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
211        "Counter": "0,1,2,3",
212        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
213        "Errata": "BDM69",
214        "PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (4K page size). The page walk can end with or without a fault.",
215        "SampleAfterValue": "100003",
216        "CounterHTOff": "0,1,2,3,4,5,6,7"
217    },
218    {
219        "EventCode": "0x85",
220        "UMask": "0x4",
221        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
222        "Counter": "0,1,2,3",
223        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
224        "Errata": "BDM69",
225        "PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (2M and 4M page sizes). The page walk can end with or without a fault.",
226        "SampleAfterValue": "100003",
227        "CounterHTOff": "0,1,2,3,4,5,6,7"
228    },
229    {
230        "EventCode": "0x85",
231        "UMask": "0x8",
232        "BriefDescription": "Store miss in all TLB levels causes a page walk that completes. (1G)",
233        "Counter": "0,1,2,3",
234        "EventName": "ITLB_MISSES.WALK_COMPLETED_1G",
235        "Errata": "BDM69",
236        "PublicDescription": "This event counts store misses in all DTLB levels that cause a completed page walk (1G  page size). The page walk can end with or without a fault.",
237        "SampleAfterValue": "100003",
238        "CounterHTOff": "0,1,2,3,4,5,6,7"
239    },
240    {
241        "EventCode": "0x85",
242        "UMask": "0xe",
243        "BriefDescription": "Misses in all ITLB levels that cause completed page walks.",
244        "Counter": "0,1,2,3",
245        "EventName": "ITLB_MISSES.WALK_COMPLETED",
246        "Errata": "BDM69",
247        "SampleAfterValue": "100003",
248        "CounterHTOff": "0,1,2,3,4,5,6,7"
249    },
250    {
251        "EventCode": "0x85",
252        "UMask": "0x10",
253        "BriefDescription": "Cycles when PMH is busy with page walks",
254        "Counter": "0,1,2,3",
255        "EventName": "ITLB_MISSES.WALK_DURATION",
256        "Errata": "BDM69",
257        "PublicDescription": "This event counts the number of cycles while PMH is busy with the page walk.",
258        "SampleAfterValue": "100003",
259        "CounterHTOff": "0,1,2,3,4,5,6,7"
260    },
261    {
262        "EventCode": "0x85",
263        "UMask": "0x20",
264        "BriefDescription": "Core misses that miss the  DTLB and hit the STLB (4K).",
265        "Counter": "0,1,2,3",
266        "EventName": "ITLB_MISSES.STLB_HIT_4K",
267        "SampleAfterValue": "100003",
268        "CounterHTOff": "0,1,2,3,4,5,6,7"
269    },
270    {
271        "EventCode": "0x85",
272        "UMask": "0x40",
273        "BriefDescription": "Code misses that miss the  DTLB and hit the STLB (2M).",
274        "Counter": "0,1,2,3",
275        "EventName": "ITLB_MISSES.STLB_HIT_2M",
276        "SampleAfterValue": "100003",
277        "CounterHTOff": "0,1,2,3,4,5,6,7"
278    },
279    {
280        "EventCode": "0x85",
281        "UMask": "0x60",
282        "BriefDescription": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
283        "Counter": "0,1,2,3",
284        "EventName": "ITLB_MISSES.STLB_HIT",
285        "SampleAfterValue": "100003",
286        "CounterHTOff": "0,1,2,3,4,5,6,7"
287    },
288    {
289        "EventCode": "0xAE",
290        "UMask": "0x1",
291        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
292        "Counter": "0,1,2,3",
293        "EventName": "ITLB.ITLB_FLUSH",
294        "PublicDescription": "This event counts the number of flushes of the big or small ITLB pages. Counting include both TLB Flush (covering all sets) and TLB Set Clear (set-specific).",
295        "SampleAfterValue": "100007",
296        "CounterHTOff": "0,1,2,3,4,5,6,7"
297    },
298    {
299        "EventCode": "0xBC",
300        "UMask": "0x11",
301        "BriefDescription": "Number of DTLB page walker hits in the L1+FB.",
302        "Counter": "0,1,2,3",
303        "EventName": "PAGE_WALKER_LOADS.DTLB_L1",
304        "Errata": "BDM69, BDM98",
305        "SampleAfterValue": "2000003",
306        "CounterHTOff": "0,1,2,3"
307    },
308    {
309        "EventCode": "0xBC",
310        "UMask": "0x12",
311        "BriefDescription": "Number of DTLB page walker hits in the L2.",
312        "Counter": "0,1,2,3",
313        "EventName": "PAGE_WALKER_LOADS.DTLB_L2",
314        "Errata": "BDM69, BDM98",
315        "SampleAfterValue": "2000003",
316        "CounterHTOff": "0,1,2,3"
317    },
318    {
319        "EventCode": "0xBC",
320        "UMask": "0x14",
321        "BriefDescription": "Number of DTLB page walker hits in the L3 + XSNP.",
322        "Counter": "0,1,2,3",
323        "EventName": "PAGE_WALKER_LOADS.DTLB_L3",
324        "Errata": "BDM69, BDM98",
325        "SampleAfterValue": "2000003",
326        "CounterHTOff": "0,1,2,3"
327    },
328    {
329        "EventCode": "0xBC",
330        "UMask": "0x18",
331        "BriefDescription": "Number of DTLB page walker hits in Memory.",
332        "Counter": "0,1,2,3",
333        "EventName": "PAGE_WALKER_LOADS.DTLB_MEMORY",
334        "Errata": "BDM69, BDM98",
335        "SampleAfterValue": "2000003",
336        "CounterHTOff": "0,1,2,3"
337    },
338    {
339        "EventCode": "0xBC",
340        "UMask": "0x21",
341        "BriefDescription": "Number of ITLB page walker hits in the L1+FB.",
342        "Counter": "0,1,2,3",
343        "EventName": "PAGE_WALKER_LOADS.ITLB_L1",
344        "Errata": "BDM69, BDM98",
345        "SampleAfterValue": "2000003",
346        "CounterHTOff": "0,1,2,3"
347    },
348    {
349        "EventCode": "0xBC",
350        "UMask": "0x22",
351        "BriefDescription": "Number of ITLB page walker hits in the L2.",
352        "Counter": "0,1,2,3",
353        "EventName": "PAGE_WALKER_LOADS.ITLB_L2",
354        "Errata": "BDM69, BDM98",
355        "SampleAfterValue": "2000003",
356        "CounterHTOff": "0,1,2,3"
357    },
358    {
359        "EventCode": "0xBC",
360        "UMask": "0x24",
361        "BriefDescription": "Number of ITLB page walker hits in the L3 + XSNP.",
362        "Counter": "0,1,2,3",
363        "EventName": "PAGE_WALKER_LOADS.ITLB_L3",
364        "Errata": "BDM69, BDM98",
365        "SampleAfterValue": "2000003",
366        "CounterHTOff": "0,1,2,3"
367    },
368    {
369        "EventCode": "0xBD",
370        "UMask": "0x1",
371        "BriefDescription": "DTLB flush attempts of the thread-specific entries",
372        "Counter": "0,1,2,3",
373        "EventName": "TLB_FLUSH.DTLB_THREAD",
374        "PublicDescription": "This event counts the number of DTLB flush attempts of the thread-specific entries.",
375        "SampleAfterValue": "100007",
376        "CounterHTOff": "0,1,2,3,4,5,6,7"
377    },
378    {
379        "EventCode": "0xBD",
380        "UMask": "0x20",
381        "BriefDescription": "STLB flush attempts",
382        "Counter": "0,1,2,3",
383        "EventName": "TLB_FLUSH.STLB_ANY",
384        "PublicDescription": "This event counts the number of any STLB flush attempts (such as entire, VPID, PCID, InvPage, CR3 write, and so on).",
385        "SampleAfterValue": "100007",
386        "CounterHTOff": "0,1,2,3,4,5,6,7"
387    }
388]