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