xref: /linux/tools/perf/pmu-events/arch/x86/elkhartlake/virtual-memory.json (revision 170aafe35cb98e0f3fbacb446ea86389fbce22ea)
1[
2    {
3        "BriefDescription": "Counts the number of page walks due to loads that miss the PDE (Page Directory Entry) cache.",
4        "Counter": "0,1,2,3",
5        "EventCode": "0x08",
6        "EventName": "DTLB_LOAD_MISSES.PDE_CACHE_MISS",
7        "SampleAfterValue": "200003",
8        "UMask": "0x80"
9    },
10    {
11        "BriefDescription": "Counts the number of first level TLB misses but second level hits due to a demand load that did not start a page walk. Account for all page sizes. Will result in a DTLB write from STLB.",
12        "Counter": "0,1,2,3",
13        "EventCode": "0x08",
14        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
15        "SampleAfterValue": "200003",
16        "UMask": "0x20"
17    },
18    {
19        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to any page size.",
20        "Counter": "0,1,2,3",
21        "EventCode": "0x08",
22        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
23        "PublicDescription": "Counts the number of page walks completed due to loads (including SW prefetches) whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size. Includes page walks that page fault.",
24        "SampleAfterValue": "200003",
25        "UMask": "0xe"
26    },
27    {
28        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 1G page.",
29        "Counter": "0,1,2,3",
30        "EventCode": "0x08",
31        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
32        "PublicDescription": "Counts the number of page walks completed due to loads (including SW prefetches) whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 1GB pages. Includes page walks that page fault.",
33        "SampleAfterValue": "200003",
34        "UMask": "0x8"
35    },
36    {
37        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 2M or 4M page.",
38        "Counter": "0,1,2,3",
39        "EventCode": "0x08",
40        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
41        "PublicDescription": "Counts the number of page walks completed due to loads (including SW prefetches) whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages. Includes page walks that page fault.",
42        "SampleAfterValue": "200003",
43        "UMask": "0x4"
44    },
45    {
46        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 4K page.",
47        "Counter": "0,1,2,3",
48        "EventCode": "0x08",
49        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
50        "PublicDescription": "Counts the number of page walks completed due to loads (including SW prefetches) whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 4K pages. Includes page walks that page fault.",
51        "SampleAfterValue": "200003",
52        "UMask": "0x2"
53    },
54    {
55        "BriefDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for demand loads every cycle.",
56        "Counter": "0,1,2,3",
57        "EventCode": "0x08",
58        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
59        "PublicDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for demand loads every cycle.  A page walk is outstanding from start till PMH becomes idle again (ready to serve next walk). Includes EPT-walk intervals.",
60        "SampleAfterValue": "200003",
61        "UMask": "0x10"
62    },
63    {
64        "BriefDescription": "Counts the number of page walks due to stores that miss the PDE (Page Directory Entry) cache.",
65        "Counter": "0,1,2,3",
66        "EventCode": "0x49",
67        "EventName": "DTLB_STORE_MISSES.PDE_CACHE_MISS",
68        "SampleAfterValue": "2000003",
69        "UMask": "0x80"
70    },
71    {
72        "BriefDescription": "Counts the number of first level TLB misses but second level hits due to stores that did not start a page walk. Account for all pages sizes. Will result in a DTLB write from STLB.",
73        "Counter": "0,1,2,3",
74        "EventCode": "0x49",
75        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
76        "SampleAfterValue": "2000003",
77        "UMask": "0x20"
78    },
79    {
80        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to any page size.",
81        "Counter": "0,1,2,3",
82        "EventCode": "0x49",
83        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
84        "PublicDescription": "Counts the number of page walks completed due to stores whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size.  Includes page walks that page fault.",
85        "SampleAfterValue": "200003",
86        "UMask": "0xe"
87    },
88    {
89        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 1G page.",
90        "Counter": "0,1,2,3",
91        "EventCode": "0x49",
92        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
93        "PublicDescription": "Counts the number of page walks completed due to stores whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 1G pages.  Includes page walks that page fault.",
94        "SampleAfterValue": "200003",
95        "UMask": "0x8"
96    },
97    {
98        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 2M or 4M page.",
99        "Counter": "0,1,2,3",
100        "EventCode": "0x49",
101        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
102        "PublicDescription": "Counts the number of page walks completed due to stores whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages.  Includes page walks that page fault.",
103        "SampleAfterValue": "2000003",
104        "UMask": "0x4"
105    },
106    {
107        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 4K page.",
108        "Counter": "0,1,2,3",
109        "EventCode": "0x49",
110        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
111        "PublicDescription": "Counts the number of page walks completed due to stores whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 4K pages.  Includes page walks that page fault.",
112        "SampleAfterValue": "2000003",
113        "UMask": "0x2"
114    },
115    {
116        "BriefDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for stores every cycle.",
117        "Counter": "0,1,2,3",
118        "EventCode": "0x49",
119        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
120        "PublicDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for stores every cycle.  A page walk is outstanding from start till PMH becomes idle again (ready to serve next walk). Includes EPT-walk intervals.",
121        "SampleAfterValue": "200003",
122        "UMask": "0x10"
123    },
124    {
125        "BriefDescription": "Counts the number of Extended Page Directory Entry hits.",
126        "Counter": "0,1,2,3",
127        "EventCode": "0x4f",
128        "EventName": "EPT.EPDE_HIT",
129        "PublicDescription": "Counts the number of Extended Page Directory Entry hits.  The Extended Page Directory cache is used by Virtual Machine operating systems while the guest operating systems use the standard TLB caches.",
130        "SampleAfterValue": "2000003",
131        "UMask": "0x1"
132    },
133    {
134        "BriefDescription": "Counts the number of Extended Page Directory Entry misses.",
135        "Counter": "0,1,2,3",
136        "EventCode": "0x4f",
137        "EventName": "EPT.EPDE_MISS",
138        "PublicDescription": "Counts the number Extended Page Directory Entry misses.  The Extended Page Directory cache is used by Virtual Machine operating systems while the guest operating systems use the standard TLB caches.",
139        "SampleAfterValue": "2000003",
140        "UMask": "0x2"
141    },
142    {
143        "BriefDescription": "Counts the number of Extended Page Directory Pointer Entry hits.",
144        "Counter": "0,1,2,3",
145        "EventCode": "0x4f",
146        "EventName": "EPT.EPDPE_HIT",
147        "PublicDescription": "Counts the number Extended Page Directory Pointer Entry hits.  The Extended Page Directory cache is used by Virtual Machine operating systems while the guest operating systems use the standard TLB caches.",
148        "SampleAfterValue": "2000003",
149        "UMask": "0x4"
150    },
151    {
152        "BriefDescription": "Counts the number of Extended Page Directory Pointer Entry misses.",
153        "Counter": "0,1,2,3",
154        "EventCode": "0x4f",
155        "EventName": "EPT.EPDPE_MISS",
156        "PublicDescription": "Counts the number Extended Page Directory Pointer Entry misses.  The Extended Page Directory cache is used by Virtual Machine operating systems while the guest operating systems use the standard TLB caches.",
157        "SampleAfterValue": "2000003",
158        "UMask": "0x8"
159    },
160    {
161        "BriefDescription": "Counts the number of page walks outstanding for an Extended Page table walk including GTLB hits per cycle.",
162        "Counter": "0,1,2,3",
163        "EventCode": "0x4f",
164        "EventName": "EPT.WALK_PENDING",
165        "PublicDescription": "Counts the number of page walks outstanding for an Extended Page table walk including GTLB hits per cycle.  The Extended Page Directory cache is used by Virtual Machine operating systems while the guest operating systems use the standard TLB caches.",
166        "SampleAfterValue": "200003",
167        "UMask": "0x10"
168    },
169    {
170        "BriefDescription": "Counts the number of times there was an ITLB miss and a new translation was filled into the ITLB.",
171        "Counter": "0,1,2,3",
172        "EventCode": "0x81",
173        "EventName": "ITLB.FILLS",
174        "PublicDescription": "Counts the number of times the machine was unable to find a translation in the Instruction Translation Lookaside Buffer (ITLB) and a new translation was filled into the ITLB. The event is speculative in nature, but will not count translations (page walks) that are begun and not finished, or translations that are finished but not filled into the ITLB.",
175        "SampleAfterValue": "200003",
176        "UMask": "0x4"
177    },
178    {
179        "BriefDescription": "Counts the number of page walks due to an instruction fetch that miss the PDE (Page Directory Entry) cache.",
180        "Counter": "0,1,2,3",
181        "EventCode": "0x85",
182        "EventName": "ITLB_MISSES.PDE_CACHE_MISS",
183        "SampleAfterValue": "2000003",
184        "UMask": "0x80"
185    },
186    {
187        "BriefDescription": "Counts the number of first level TLB misses but second level hits due to an instruction fetch that did not start a page walk. Account for all pages sizes. Will result in an ITLB write from STLB.",
188        "Counter": "0,1,2,3",
189        "EventCode": "0x85",
190        "EventName": "ITLB_MISSES.STLB_HIT",
191        "SampleAfterValue": "2000003",
192        "UMask": "0x20"
193    },
194    {
195        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to any page size.",
196        "Counter": "0,1,2,3",
197        "EventCode": "0x85",
198        "EventName": "ITLB_MISSES.WALK_COMPLETED",
199        "PublicDescription": "Counts the number of page walks completed due to instruction fetches whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size.  Includes page walks that page fault.",
200        "SampleAfterValue": "200003",
201        "UMask": "0xe"
202    },
203    {
204        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 1G page.",
205        "Counter": "0,1,2,3",
206        "EventCode": "0x85",
207        "EventName": "ITLB_MISSES.WALK_COMPLETED_1G",
208        "PublicDescription": "Counts the number of page walks completed due to instruction fetches whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 1G pages.  Includes page walks that page fault.",
209        "SampleAfterValue": "200003",
210        "UMask": "0x8"
211    },
212    {
213        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 2M or 4M page.",
214        "Counter": "0,1,2,3",
215        "EventCode": "0x85",
216        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
217        "PublicDescription": "Counts the number of page walks completed due to instruction fetches whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages.  Includes page walks that page fault.",
218        "SampleAfterValue": "2000003",
219        "UMask": "0x4"
220    },
221    {
222        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 4K page.",
223        "Counter": "0,1,2,3",
224        "EventCode": "0x85",
225        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
226        "PublicDescription": "Counts the number of page walks completed due to instruction fetches whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 4K pages.  Includes page walks that page fault.",
227        "SampleAfterValue": "2000003",
228        "UMask": "0x2"
229    },
230    {
231        "BriefDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for instruction fetches every cycle.",
232        "Counter": "0,1,2,3",
233        "EventCode": "0x85",
234        "EventName": "ITLB_MISSES.WALK_PENDING",
235        "PublicDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for instruction fetches every cycle.  A page walk is outstanding from start till PMH becomes idle again (ready to serve next walk).",
236        "SampleAfterValue": "200003",
237        "UMask": "0x10"
238    },
239    {
240        "BriefDescription": "Counts the number of retired loads that are blocked due to a first level TLB miss.",
241        "Counter": "0,1,2,3",
242        "EventCode": "0x03",
243        "EventName": "LD_BLOCKS.DTLB_MISS",
244        "PEBS": "1",
245        "SampleAfterValue": "1000003",
246        "UMask": "0x8"
247    },
248    {
249        "BriefDescription": "Counts the number of memory uops retired that missed in the second level TLB.",
250        "Counter": "0,1,2,3",
251        "Data_LA": "1",
252        "EventCode": "0xd0",
253        "EventName": "MEM_UOPS_RETIRED.DTLB_MISS",
254        "PEBS": "1",
255        "SampleAfterValue": "200003",
256        "UMask": "0x13"
257    },
258    {
259        "BriefDescription": "Counts the number of load uops retired that miss in the second Level TLB.",
260        "Counter": "0,1,2,3",
261        "Data_LA": "1",
262        "EventCode": "0xd0",
263        "EventName": "MEM_UOPS_RETIRED.DTLB_MISS_LOADS",
264        "PEBS": "1",
265        "SampleAfterValue": "200003",
266        "UMask": "0x11"
267    },
268    {
269        "BriefDescription": "Counts the number of store uops retired that miss in the second level TLB.",
270        "Counter": "0,1,2,3",
271        "Data_LA": "1",
272        "EventCode": "0xd0",
273        "EventName": "MEM_UOPS_RETIRED.DTLB_MISS_STORES",
274        "PEBS": "1",
275        "SampleAfterValue": "200003",
276        "UMask": "0x12"
277    }
278]
279