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