xref: /linux/tools/perf/pmu-events/arch/x86/alderlake/virtual-memory.json (revision 9f2c9170934eace462499ba0bfe042cc72900173)
1[
2    {
3        "BriefDescription": "Loads that miss the DTLB and hit the STLB.",
4        "EventCode": "0x12",
5        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
6        "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).",
7        "SampleAfterValue": "100003",
8        "UMask": "0x20",
9        "Unit": "cpu_core"
10    },
11    {
12        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
13        "CounterMask": "1",
14        "EventCode": "0x12",
15        "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE",
16        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a demand load.",
17        "SampleAfterValue": "100003",
18        "UMask": "0x10",
19        "Unit": "cpu_core"
20    },
21    {
22        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to any page size.",
23        "EventCode": "0x08",
24        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
25        "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.",
26        "SampleAfterValue": "200003",
27        "UMask": "0xe",
28        "Unit": "cpu_atom"
29    },
30    {
31        "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)",
32        "EventCode": "0x12",
33        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
34        "PublicDescription": "Counts completed page walks  (all page sizes) caused by demand data loads. This implies it missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
35        "SampleAfterValue": "100003",
36        "UMask": "0xe",
37        "Unit": "cpu_core"
38    },
39    {
40        "BriefDescription": "Page walks completed due to a demand data load to a 1G page.",
41        "EventCode": "0x12",
42        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
43        "PublicDescription": "Counts completed page walks  (1G sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
44        "SampleAfterValue": "100003",
45        "UMask": "0x8",
46        "Unit": "cpu_core"
47    },
48    {
49        "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.",
50        "EventCode": "0x12",
51        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
52        "PublicDescription": "Counts completed page walks  (2M/4M sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
53        "SampleAfterValue": "100003",
54        "UMask": "0x4",
55        "Unit": "cpu_core"
56    },
57    {
58        "BriefDescription": "Page walks completed due to a demand data load to a 4K page.",
59        "EventCode": "0x12",
60        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
61        "PublicDescription": "Counts completed page walks  (4K sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
62        "SampleAfterValue": "100003",
63        "UMask": "0x2",
64        "Unit": "cpu_core"
65    },
66    {
67        "BriefDescription": "Number of page walks outstanding for a demand load in the PMH each cycle.",
68        "EventCode": "0x12",
69        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
70        "PublicDescription": "Counts the number of page walks outstanding for a demand load in the PMH (Page Miss Handler) each cycle.",
71        "SampleAfterValue": "100003",
72        "UMask": "0x10",
73        "Unit": "cpu_core"
74    },
75    {
76        "BriefDescription": "Stores that miss the DTLB and hit the STLB.",
77        "EventCode": "0x13",
78        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
79        "PublicDescription": "Counts stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).",
80        "SampleAfterValue": "100003",
81        "UMask": "0x20",
82        "Unit": "cpu_core"
83    },
84    {
85        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store.",
86        "CounterMask": "1",
87        "EventCode": "0x13",
88        "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE",
89        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.",
90        "SampleAfterValue": "100003",
91        "UMask": "0x10",
92        "Unit": "cpu_core"
93    },
94    {
95        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to any page size.",
96        "EventCode": "0x49",
97        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
98        "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.",
99        "SampleAfterValue": "2000003",
100        "UMask": "0xe",
101        "Unit": "cpu_atom"
102    },
103    {
104        "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)",
105        "EventCode": "0x13",
106        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
107        "PublicDescription": "Counts completed page walks  (all page sizes) caused by demand data stores. This implies it missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
108        "SampleAfterValue": "100003",
109        "UMask": "0xe",
110        "Unit": "cpu_core"
111    },
112    {
113        "BriefDescription": "Page walks completed due to a demand data store to a 1G page.",
114        "EventCode": "0x13",
115        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
116        "PublicDescription": "Counts completed page walks  (1G sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
117        "SampleAfterValue": "100003",
118        "UMask": "0x8",
119        "Unit": "cpu_core"
120    },
121    {
122        "BriefDescription": "Page walks completed due to a demand data store to a 2M/4M page.",
123        "EventCode": "0x13",
124        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
125        "PublicDescription": "Counts completed page walks  (2M/4M sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
126        "SampleAfterValue": "100003",
127        "UMask": "0x4",
128        "Unit": "cpu_core"
129    },
130    {
131        "BriefDescription": "Page walks completed due to a demand data store to a 4K page.",
132        "EventCode": "0x13",
133        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
134        "PublicDescription": "Counts completed page walks  (4K sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
135        "SampleAfterValue": "100003",
136        "UMask": "0x2",
137        "Unit": "cpu_core"
138    },
139    {
140        "BriefDescription": "Number of page walks outstanding for a store in the PMH each cycle.",
141        "EventCode": "0x13",
142        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
143        "PublicDescription": "Counts the number of page walks outstanding for a store in the PMH (Page Miss Handler) each cycle.",
144        "SampleAfterValue": "100003",
145        "UMask": "0x10",
146        "Unit": "cpu_core"
147    },
148    {
149        "BriefDescription": "Counts the number of page walks initiated by a instruction fetch that missed the first and second level TLBs.",
150        "EventCode": "0x85",
151        "EventName": "ITLB_MISSES.MISS_CAUSED_WALK",
152        "SampleAfterValue": "1000003",
153        "UMask": "0x1",
154        "Unit": "cpu_atom"
155    },
156    {
157        "BriefDescription": "Counts the number of page walks due to an instruction fetch that miss the PDE (Page Directory Entry) cache.",
158        "EventCode": "0x85",
159        "EventName": "ITLB_MISSES.PDE_CACHE_MISS",
160        "SampleAfterValue": "2000003",
161        "UMask": "0x80",
162        "Unit": "cpu_atom"
163    },
164    {
165        "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.",
166        "EventCode": "0x11",
167        "EventName": "ITLB_MISSES.STLB_HIT",
168        "PublicDescription": "Counts instruction fetch requests that miss the ITLB (Instruction TLB) and hit the STLB (Second-level TLB).",
169        "SampleAfterValue": "100003",
170        "UMask": "0x20",
171        "Unit": "cpu_core"
172    },
173    {
174        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request.",
175        "CounterMask": "1",
176        "EventCode": "0x11",
177        "EventName": "ITLB_MISSES.WALK_ACTIVE",
178        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a code (instruction fetch) request.",
179        "SampleAfterValue": "100003",
180        "UMask": "0x10",
181        "Unit": "cpu_core"
182    },
183    {
184        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to any page size.",
185        "EventCode": "0x85",
186        "EventName": "ITLB_MISSES.WALK_COMPLETED",
187        "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.",
188        "SampleAfterValue": "200003",
189        "UMask": "0xe",
190        "Unit": "cpu_atom"
191    },
192    {
193        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)",
194        "EventCode": "0x11",
195        "EventName": "ITLB_MISSES.WALK_COMPLETED",
196        "PublicDescription": "Counts completed page walks (all page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.",
197        "SampleAfterValue": "100003",
198        "UMask": "0xe",
199        "Unit": "cpu_core"
200    },
201    {
202        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
203        "EventCode": "0x11",
204        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
205        "PublicDescription": "Counts completed page walks (2M/4M page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.",
206        "SampleAfterValue": "100003",
207        "UMask": "0x4",
208        "Unit": "cpu_core"
209    },
210    {
211        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
212        "EventCode": "0x11",
213        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
214        "PublicDescription": "Counts completed page walks (4K page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.",
215        "SampleAfterValue": "100003",
216        "UMask": "0x2",
217        "Unit": "cpu_core"
218    },
219    {
220        "BriefDescription": "Number of page walks outstanding for an outstanding code request in the PMH each cycle.",
221        "EventCode": "0x11",
222        "EventName": "ITLB_MISSES.WALK_PENDING",
223        "PublicDescription": "Counts the number of page walks outstanding for an outstanding code (instruction fetch) request in the PMH (Page Miss Handler) each cycle.",
224        "SampleAfterValue": "100003",
225        "UMask": "0x10",
226        "Unit": "cpu_core"
227    },
228    {
229        "BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to a DTLB miss.",
230        "EventCode": "0x05",
231        "EventName": "LD_HEAD.DTLB_MISS_AT_RET",
232        "SampleAfterValue": "1000003",
233        "UMask": "0x90",
234        "Unit": "cpu_atom"
235    }
236]
237