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