GNU Linux-libre 4.14.302-gnu1
[releases.git] / tools / perf / pmu-events / arch / x86 / skylakex / virtual-memory.json
1 [
2     {
3         "EventCode": "0x08",
4         "UMask": "0x1",
5         "BriefDescription": "Load misses in all DTLB levels that cause page walks",
6         "Counter": "0,1,2,3",
7         "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
8         "PublicDescription": "Counts demand data loads that caused a page walk of any page size (4K/2M/4M/1G). This implies it missed in all TLB levels, but the walk need not have completed.",
9         "SampleAfterValue": "100003",
10         "CounterHTOff": "0,1,2,3,4,5,6,7"
11     },
12     {
13         "EventCode": "0x08",
14         "UMask": "0x2",
15         "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes (4K).",
16         "Counter": "0,1,2,3",
17         "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
18         "PublicDescription": "Counts demand data loads that caused a completed page walk (4K page size). This implies it missed in all TLB levels. The page walk can end with or without a fault.",
19         "SampleAfterValue": "2000003",
20         "CounterHTOff": "0,1,2,3,4,5,6,7"
21     },
22     {
23         "EventCode": "0x08",
24         "UMask": "0x4",
25         "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes (2M/4M).",
26         "Counter": "0,1,2,3",
27         "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
28         "PublicDescription": "Counts demand data loads that caused a completed page walk (2M and 4M page sizes). This implies it missed in all TLB levels. The page walk can end with or without a fault.",
29         "SampleAfterValue": "2000003",
30         "CounterHTOff": "0,1,2,3,4,5,6,7"
31     },
32     {
33         "EventCode": "0x08",
34         "UMask": "0x8",
35         "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (1G)",
36         "Counter": "0,1,2,3",
37         "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
38         "PublicDescription": "Counts load misses in all DTLB levels that cause a completed page walk (1G page size). The page walk can end with or without a fault.",
39         "SampleAfterValue": "2000003",
40         "CounterHTOff": "0,1,2,3,4,5,6,7"
41     },
42     {
43         "EventCode": "0x08",
44         "UMask": "0xe",
45         "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)",
46         "Counter": "0,1,2,3",
47         "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
48         "PublicDescription": "Counts demand data loads that caused a completed page walk of any page size (4K/2M/4M/1G). This implies it missed in all TLB levels. The page walk can end with or without a fault.",
49         "SampleAfterValue": "100003",
50         "CounterHTOff": "0,1,2,3,4,5,6,7"
51     },
52     {
53         "EventCode": "0x08",
54         "UMask": "0x10",
55         "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a load. EPT page walk duration are excluded in Skylake. ",
56         "Counter": "0,1,2,3",
57         "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
58         "PublicDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a load. EPT page walk duration are excluded in Skylake microarchitecture. ",
59         "SampleAfterValue": "2000003",
60         "CounterHTOff": "0,1,2,3,4,5,6,7"
61     },
62     {
63         "EventCode": "0x08",
64         "UMask": "0x10",
65         "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk duration are excluded in Skylake. ",
66         "Counter": "0,1,2,3",
67         "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE",
68         "CounterMask": "1",
69         "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a load.",
70         "SampleAfterValue": "100003",
71         "CounterHTOff": "0,1,2,3,4,5,6,7"
72     },
73     {
74         "EventCode": "0x08",
75         "UMask": "0x20",
76         "BriefDescription": "Loads that miss the DTLB and hit the STLB.",
77         "Counter": "0,1,2,3",
78         "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
79         "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).",
80         "SampleAfterValue": "2000003",
81         "CounterHTOff": "0,1,2,3,4,5,6,7"
82     },
83     {
84         "EventCode": "0x49",
85         "UMask": "0x1",
86         "BriefDescription": "Store misses in all DTLB levels that cause page walks",
87         "Counter": "0,1,2,3",
88         "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
89         "PublicDescription": "Counts demand data stores that caused a page walk of any page size (4K/2M/4M/1G). This implies it missed in all TLB levels, but the walk need not have completed.",
90         "SampleAfterValue": "100003",
91         "CounterHTOff": "0,1,2,3,4,5,6,7"
92     },
93     {
94         "EventCode": "0x49",
95         "UMask": "0x2",
96         "BriefDescription": "Store miss in all TLB levels causes a page walk that completes. (4K)",
97         "Counter": "0,1,2,3",
98         "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
99         "PublicDescription": "Counts demand data stores that caused a completed page walk (4K page size). This implies it missed in all TLB levels. The page walk can end with or without a fault.",
100         "SampleAfterValue": "100003",
101         "CounterHTOff": "0,1,2,3,4,5,6,7"
102     },
103     {
104         "EventCode": "0x49",
105         "UMask": "0x4",
106         "BriefDescription": "Store misses in all DTLB levels that cause completed page walks (2M/4M)",
107         "Counter": "0,1,2,3",
108         "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
109         "PublicDescription": "Counts demand data stores that caused a completed page walk (2M and 4M page sizes). This implies it missed in all TLB levels. The page walk can end with or without a fault.",
110         "SampleAfterValue": "100003",
111         "CounterHTOff": "0,1,2,3,4,5,6,7"
112     },
113     {
114         "EventCode": "0x49",
115         "UMask": "0x8",
116         "BriefDescription": "Store misses in all DTLB levels that cause completed page walks (1G)",
117         "Counter": "0,1,2,3",
118         "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
119         "PublicDescription": "Counts store misses in all DTLB levels that cause a completed page walk (1G page size). The page walk can end with or without a fault.",
120         "SampleAfterValue": "100003",
121         "CounterHTOff": "0,1,2,3,4,5,6,7"
122     },
123     {
124         "EventCode": "0x49",
125         "UMask": "0xe",
126         "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)",
127         "Counter": "0,1,2,3",
128         "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
129         "PublicDescription": "Counts demand data stores that caused a completed page walk of any page size (4K/2M/4M/1G). This implies it missed in all TLB levels. The page walk can end with or without a fault.",
130         "SampleAfterValue": "100003",
131         "CounterHTOff": "0,1,2,3,4,5,6,7"
132     },
133     {
134         "EventCode": "0x49",
135         "UMask": "0x10",
136         "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a store. EPT page walk duration are excluded in Skylake. ",
137         "Counter": "0,1,2,3",
138         "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
139         "PublicDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a store. EPT page walk duration are excluded in Skylake microarchitecture. ",
140         "SampleAfterValue": "2000003",
141         "CounterHTOff": "0,1,2,3,4,5,6,7"
142     },
143     {
144         "EventCode": "0x49",
145         "UMask": "0x10",
146         "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store. EPT page walk duration are excluded in Skylake. ",
147         "Counter": "0,1,2,3",
148         "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE",
149         "CounterMask": "1",
150         "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.",
151         "SampleAfterValue": "100003",
152         "CounterHTOff": "0,1,2,3,4,5,6,7"
153     },
154     {
155         "EventCode": "0x49",
156         "UMask": "0x20",
157         "BriefDescription": "Stores that miss the DTLB and hit the STLB.",
158         "Counter": "0,1,2,3",
159         "EventName": "DTLB_STORE_MISSES.STLB_HIT",
160         "PublicDescription": "Stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).",
161         "SampleAfterValue": "100003",
162         "CounterHTOff": "0,1,2,3,4,5,6,7"
163     },
164     {
165         "EventCode": "0x4F",
166         "UMask": "0x10",
167         "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a EPT (Extended Page Table) walk for any request type.",
168         "Counter": "0,1,2,3",
169         "EventName": "EPT.WALK_PENDING",
170         "PublicDescription": "Counts cycles for each PMH (Page Miss Handler) that is busy with an EPT (Extended Page Table) walk for any request type.",
171         "SampleAfterValue": "2000003",
172         "CounterHTOff": "0,1,2,3,4,5,6,7"
173     },
174     {
175         "EventCode": "0x85",
176         "UMask": "0x1",
177         "BriefDescription": "Misses at all ITLB levels that cause page walks",
178         "Counter": "0,1,2,3",
179         "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
180         "PublicDescription": "Counts page walks of any page size (4K/2M/4M/1G) caused by a code fetch. This implies it missed in the ITLB and further levels of TLB, but the walk need not have completed.",
181         "SampleAfterValue": "100003",
182         "CounterHTOff": "0,1,2,3,4,5,6,7"
183     },
184     {
185         "EventCode": "0x85",
186         "UMask": "0x2",
187         "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
188         "Counter": "0,1,2,3",
189         "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
190         "PublicDescription": "Counts completed page walks (4K page size) caused by a code fetch. This implies it missed in the ITLB and further levels of TLB. The page walk can end with or without a fault.",
191         "SampleAfterValue": "100003",
192         "CounterHTOff": "0,1,2,3,4,5,6,7"
193     },
194     {
195         "EventCode": "0x85",
196         "UMask": "0x4",
197         "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
198         "Counter": "0,1,2,3",
199         "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
200         "PublicDescription": "Counts completed page walks of any page size (4K/2M/4M/1G) caused by a code fetch. This implies it missed in the ITLB and further levels of TLB. The page walk can end with or without a fault.",
201         "SampleAfterValue": "100003",
202         "CounterHTOff": "0,1,2,3,4,5,6,7"
203     },
204     {
205         "EventCode": "0x85",
206         "UMask": "0x8",
207         "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (1G)",
208         "Counter": "0,1,2,3",
209         "EventName": "ITLB_MISSES.WALK_COMPLETED_1G",
210         "PublicDescription": "Counts store misses in all DTLB levels that cause a completed page walk (1G page size). The page walk can end with or without a fault.",
211         "SampleAfterValue": "100003",
212         "CounterHTOff": "0,1,2,3,4,5,6,7"
213     },
214     {
215         "EventCode": "0x85",
216         "UMask": "0xe",
217         "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)",
218         "Counter": "0,1,2,3",
219         "EventName": "ITLB_MISSES.WALK_COMPLETED",
220         "PublicDescription": "Counts completed page walks (2M and 4M page sizes) caused by a code fetch. This implies it missed in the ITLB and further levels of TLB. The page walk can end with or without a fault.",
221         "SampleAfterValue": "100003",
222         "CounterHTOff": "0,1,2,3,4,5,6,7"
223     },
224     {
225         "EventCode": "0x85",
226         "UMask": "0x10",
227         "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for an instruction fetch request. EPT page walk duration are excluded in Skylake. ",
228         "Counter": "0,1,2,3",
229         "EventName": "ITLB_MISSES.WALK_PENDING",
230         "PublicDescription": "Counts 1 per cycle for each PMH (Page Miss Handler) that is busy with a page walk for an instruction fetch request. EPT page walk duration are excluded in Skylake michroarchitecture. ",
231         "SampleAfterValue": "100003",
232         "CounterHTOff": "0,1,2,3,4,5,6,7"
233     },
234     {
235         "EventCode": "0x85",
236         "UMask": "0x10",
237         "BriefDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request. EPT page walk duration are excluded in Skylake.",
238         "Counter": "0,1,2,3",
239         "EventName": "ITLB_MISSES.WALK_ACTIVE",
240         "CounterMask": "1",
241         "PublicDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request. EPT page walk duration are excluded in Skylake microarchitecture.",
242         "SampleAfterValue": "100003",
243         "CounterHTOff": "0,1,2,3,4,5,6,7"
244     },
245     {
246         "EventCode": "0x85",
247         "UMask": "0x20",
248         "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.",
249         "Counter": "0,1,2,3",
250         "EventName": "ITLB_MISSES.STLB_HIT",
251         "SampleAfterValue": "100003",
252         "CounterHTOff": "0,1,2,3,4,5,6,7"
253     },
254     {
255         "EventCode": "0xAE",
256         "UMask": "0x1",
257         "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
258         "Counter": "0,1,2,3",
259         "EventName": "ITLB.ITLB_FLUSH",
260         "PublicDescription": "Counts the number of flushes of the big or small ITLB pages. Counting include both TLB Flush (covering all sets) and TLB Set Clear (set-specific).",
261         "SampleAfterValue": "100007",
262         "CounterHTOff": "0,1,2,3,4,5,6,7"
263     },
264     {
265         "EventCode": "0xBD",
266         "UMask": "0x1",
267         "BriefDescription": "DTLB flush attempts of the thread-specific entries",
268         "Counter": "0,1,2,3",
269         "EventName": "TLB_FLUSH.DTLB_THREAD",
270         "PublicDescription": "Counts the number of DTLB flush attempts of the thread-specific entries.",
271         "SampleAfterValue": "100007",
272         "CounterHTOff": "0,1,2,3,4,5,6,7"
273     },
274     {
275         "EventCode": "0xBD",
276         "UMask": "0x20",
277         "BriefDescription": "STLB flush attempts",
278         "Counter": "0,1,2,3",
279         "EventName": "TLB_FLUSH.STLB_ANY",
280         "PublicDescription": "Counts the number of any STLB flush attempts (such as entire, VPID, PCID, InvPage, CR3 write, etc.).",
281         "SampleAfterValue": "100007",
282         "CounterHTOff": "0,1,2,3,4,5,6,7"
283     }
284 ]