xref: /freebsd/lib/libpmc/pmu-events/arch/x86/goldmontplus/virtual-memory.json (revision 2008043f386721d58158e37e0d7e50df8095942d)
1[
2    {
3        "BriefDescription": "Page walk completed due to a demand load to a 1GB page",
4        "CollectPEBSRecord": "1",
5        "Counter": "0,1,2,3",
6        "EventCode": "0x08",
7        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1GB",
8        "PDIR_COUNTER": "na",
9        "PEBScounters": "0,1,2,3",
10        "PublicDescription": "Counts page walks completed due to demand data loads (including SW prefetches) whose address translations missed in all TLB levels and were mapped to 1GB pages.  The page walks can end with or without a page fault.",
11        "SampleAfterValue": "200003",
12        "UMask": "0x8"
13    },
14    {
15        "BriefDescription": "Page walk completed due to a demand load to a 2M or 4M page",
16        "CollectPEBSRecord": "1",
17        "Counter": "0,1,2,3",
18        "EventCode": "0x08",
19        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
20        "PDIR_COUNTER": "na",
21        "PEBScounters": "0,1,2,3",
22        "PublicDescription": "Counts page walks completed due to demand data loads (including SW prefetches) whose address translations missed in all TLB levels and were mapped to 2M or 4M pages.  The page walks can end with or without a page fault.",
23        "SampleAfterValue": "200003",
24        "UMask": "0x4"
25    },
26    {
27        "BriefDescription": "Page walk completed due to a demand load to a 4K page",
28        "CollectPEBSRecord": "1",
29        "Counter": "0,1,2,3",
30        "EventCode": "0x08",
31        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
32        "PDIR_COUNTER": "na",
33        "PEBScounters": "0,1,2,3",
34        "PublicDescription": "Counts page walks completed due to demand data loads (including SW prefetches) whose address translations missed in all TLB levels and were mapped to 4K pages.  The page walks can end with or without a page fault.",
35        "SampleAfterValue": "200003",
36        "UMask": "0x2"
37    },
38    {
39        "BriefDescription": "Page walks outstanding due to a demand load every cycle.",
40        "CollectPEBSRecord": "1",
41        "Counter": "0,1,2,3",
42        "EventCode": "0x08",
43        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
44        "PDIR_COUNTER": "na",
45        "PEBScounters": "0,1,2,3",
46        "PublicDescription": "Counts once per cycle for each page walk occurring due to a load (demand data loads or SW prefetches). Includes cycles spent traversing the Extended Page Table (EPT). Average cycles per walk can be calculated by dividing by the number of walks.",
47        "SampleAfterValue": "200003",
48        "UMask": "0x10"
49    },
50    {
51        "BriefDescription": "Page walk completed due to a demand data store to a 1GB page",
52        "CollectPEBSRecord": "1",
53        "Counter": "0,1,2,3",
54        "EventCode": "0x49",
55        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1GB",
56        "PDIR_COUNTER": "na",
57        "PEBScounters": "0,1,2,3",
58        "PublicDescription": "Counts page walks completed due to demand data stores whose address translations missed in the TLB and were mapped to 1GB pages.  The page walks can end with or without a page fault.",
59        "SampleAfterValue": "2000003",
60        "UMask": "0x8"
61    },
62    {
63        "BriefDescription": "Page walk completed due to a demand data store to a 2M or 4M page",
64        "CollectPEBSRecord": "1",
65        "Counter": "0,1,2,3",
66        "EventCode": "0x49",
67        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
68        "PDIR_COUNTER": "na",
69        "PEBScounters": "0,1,2,3",
70        "PublicDescription": "Counts page walks completed due to demand data stores whose address translations missed in the TLB and were mapped to 2M or 4M pages.  The page walks can end with or without a page fault.",
71        "SampleAfterValue": "2000003",
72        "UMask": "0x4"
73    },
74    {
75        "BriefDescription": "Page walk completed due to a demand data store to a 4K page",
76        "CollectPEBSRecord": "1",
77        "Counter": "0,1,2,3",
78        "EventCode": "0x49",
79        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
80        "PDIR_COUNTER": "na",
81        "PEBScounters": "0,1,2,3",
82        "PublicDescription": "Counts page walks completed due to demand data stores whose address translations missed in the TLB and were mapped to 4K pages.  The page walks can end with or without a page fault.",
83        "SampleAfterValue": "2000003",
84        "UMask": "0x2"
85    },
86    {
87        "BriefDescription": "Page walks outstanding due to a demand data store every cycle.",
88        "CollectPEBSRecord": "1",
89        "Counter": "0,1,2,3",
90        "EventCode": "0x49",
91        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
92        "PDIR_COUNTER": "na",
93        "PEBScounters": "0,1,2,3",
94        "PublicDescription": "Counts once per cycle for each page walk occurring due to a demand data store. Includes cycles spent traversing the Extended Page Table (EPT). Average cycles per walk can be calculated by dividing by the number of walks.",
95        "SampleAfterValue": "200003",
96        "UMask": "0x10"
97    },
98    {
99        "BriefDescription": "Page walks outstanding due to walking the EPT every cycle",
100        "CollectPEBSRecord": "1",
101        "Counter": "0,1,2,3",
102        "EventCode": "0x4F",
103        "EventName": "EPT.WALK_PENDING",
104        "PDIR_COUNTER": "na",
105        "PEBScounters": "0,1,2,3",
106        "PublicDescription": "Counts once per cycle for each page walk only while traversing the Extended Page Table (EPT), and does not count during the rest of the translation.  The EPT is used for translating Guest-Physical Addresses to Physical Addresses for Virtual Machine Monitors (VMMs).  Average cycles per walk can be calculated by dividing the count by number of walks.",
107        "SampleAfterValue": "200003",
108        "UMask": "0x10"
109    },
110    {
111        "BriefDescription": "ITLB misses",
112        "CollectPEBSRecord": "1",
113        "Counter": "0,1,2,3",
114        "EventCode": "0x81",
115        "EventName": "ITLB.MISS",
116        "PDIR_COUNTER": "na",
117        "PEBScounters": "0,1,2,3",
118        "PublicDescription": "Counts the number of times the machine was unable to find a translation in the Instruction Translation Lookaside Buffer (ITLB) for a linear address of an instruction fetch.  It counts when new translation are 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.",
119        "SampleAfterValue": "200003",
120        "UMask": "0x4"
121    },
122    {
123        "BriefDescription": "Page walk completed due to an instruction fetch in a 1GB page",
124        "CollectPEBSRecord": "1",
125        "Counter": "0,1,2,3",
126        "EventCode": "0x85",
127        "EventName": "ITLB_MISSES.WALK_COMPLETED_1GB",
128        "PDIR_COUNTER": "na",
129        "PEBScounters": "0,1,2,3",
130        "PublicDescription": "Counts page walks completed due to instruction fetches whose address translations missed in the TLB and were mapped to 1GB pages.  The page walks can end with or without a page fault.",
131        "SampleAfterValue": "2000003",
132        "UMask": "0x8"
133    },
134    {
135        "BriefDescription": "Page walk completed due to an instruction fetch in a 2M or 4M page",
136        "CollectPEBSRecord": "1",
137        "Counter": "0,1,2,3",
138        "EventCode": "0x85",
139        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
140        "PDIR_COUNTER": "na",
141        "PEBScounters": "0,1,2,3",
142        "PublicDescription": "Counts page walks completed due to instruction fetches whose address translations missed in the TLB and were mapped to 2M or 4M pages.  The page walks can end with or without a page fault.",
143        "SampleAfterValue": "2000003",
144        "UMask": "0x4"
145    },
146    {
147        "BriefDescription": "Page walk completed due to an instruction fetch in a 4K page",
148        "CollectPEBSRecord": "1",
149        "Counter": "0,1,2,3",
150        "EventCode": "0x85",
151        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
152        "PDIR_COUNTER": "na",
153        "PEBScounters": "0,1,2,3",
154        "PublicDescription": "Counts page walks completed due to instruction fetches whose address translations missed in the TLB and were mapped to 4K pages.  The page walks can end with or without a page fault.",
155        "SampleAfterValue": "2000003",
156        "UMask": "0x2"
157    },
158    {
159        "BriefDescription": "Page walks outstanding due to an instruction fetch every cycle.",
160        "CollectPEBSRecord": "1",
161        "Counter": "0,1,2,3",
162        "EventCode": "0x85",
163        "EventName": "ITLB_MISSES.WALK_PENDING",
164        "PDIR_COUNTER": "na",
165        "PEBScounters": "0,1,2,3",
166        "PublicDescription": "Counts once per cycle for each page walk occurring due to an instruction fetch. Includes cycles spent traversing the Extended Page Table (EPT). Average cycles per walk can be calculated by dividing by the number of walks.",
167        "SampleAfterValue": "200003",
168        "UMask": "0x10"
169    },
170    {
171        "BriefDescription": "Memory uops retired that missed the DTLB (Precise event capable)",
172        "CollectPEBSRecord": "2",
173        "Counter": "0,1,2,3",
174        "Data_LA": "1",
175        "EventCode": "0xD0",
176        "EventName": "MEM_UOPS_RETIRED.DTLB_MISS",
177        "PEBS": "2",
178        "PEBScounters": "0,1,2,3",
179        "PublicDescription": "Counts uops retired that had a DTLB miss on load, store or either.  Note that when two distinct memory operations to the same page miss the DTLB, only one of them will be recorded as a DTLB miss.",
180        "SampleAfterValue": "200003",
181        "UMask": "0x13"
182    },
183    {
184        "BriefDescription": "Load uops retired that missed the DTLB (Precise event capable)",
185        "CollectPEBSRecord": "2",
186        "Counter": "0,1,2,3",
187        "Data_LA": "1",
188        "EventCode": "0xD0",
189        "EventName": "MEM_UOPS_RETIRED.DTLB_MISS_LOADS",
190        "PEBS": "2",
191        "PEBScounters": "0,1,2,3",
192        "PublicDescription": "Counts load uops retired that caused a DTLB miss.",
193        "SampleAfterValue": "200003",
194        "UMask": "0x11"
195    },
196    {
197        "BriefDescription": "Store uops retired that missed the DTLB (Precise event capable)",
198        "CollectPEBSRecord": "2",
199        "Counter": "0,1,2,3",
200        "Data_LA": "1",
201        "EventCode": "0xD0",
202        "EventName": "MEM_UOPS_RETIRED.DTLB_MISS_STORES",
203        "PEBS": "2",
204        "PEBScounters": "0,1,2,3",
205        "PublicDescription": "Counts store uops retired that caused a DTLB miss.",
206        "SampleAfterValue": "200003",
207        "UMask": "0x12"
208    },
209    {
210        "BriefDescription": "STLB flushes",
211        "CollectPEBSRecord": "1",
212        "Counter": "0,1,2,3",
213        "EventCode": "0xBD",
214        "EventName": "TLB_FLUSHES.STLB_ANY",
215        "PDIR_COUNTER": "na",
216        "PEBScounters": "0,1,2,3",
217        "PublicDescription": "Counts STLB flushes.  The TLBs are flushed on instructions like INVLPG and MOV to CR3.",
218        "SampleAfterValue": "20003",
219        "UMask": "0x20"
220    }
221]