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