xref: /freebsd/lib/libpmc/pmu-events/arch/x86/ivytown/virtual-memory.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1959826caSMatt Macy[
2959826caSMatt Macy    {
3*18054d02SAlexander Motin        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.",
4959826caSMatt Macy        "Counter": "0,1,2,3",
5*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
6959826caSMatt Macy        "EventCode": "0x08",
7959826caSMatt Macy        "EventName": "DTLB_LOAD_MISSES.DEMAND_LD_WALK_COMPLETED",
8959826caSMatt Macy        "SampleAfterValue": "100003",
9*18054d02SAlexander Motin        "UMask": "0x82"
10959826caSMatt Macy    },
11959826caSMatt Macy    {
12*18054d02SAlexander Motin        "BriefDescription": "Demand load cycles page miss handler (PMH) is busy with this walk.",
13959826caSMatt Macy        "Counter": "0,1,2,3",
14*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
15959826caSMatt Macy        "EventCode": "0x08",
16959826caSMatt Macy        "EventName": "DTLB_LOAD_MISSES.DEMAND_LD_WALK_DURATION",
17959826caSMatt Macy        "SampleAfterValue": "2000003",
18*18054d02SAlexander Motin        "UMask": "0x84"
19959826caSMatt Macy    },
20959826caSMatt Macy    {
21*18054d02SAlexander Motin        "BriefDescription": "Page walk for a large page completed for Demand load.",
22959826caSMatt Macy        "Counter": "0,1,2,3",
23*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
24959826caSMatt Macy        "EventCode": "0x08",
25959826caSMatt Macy        "EventName": "DTLB_LOAD_MISSES.LARGE_PAGE_WALK_COMPLETED",
26959826caSMatt Macy        "SampleAfterValue": "100003",
27*18054d02SAlexander Motin        "UMask": "0x88"
28959826caSMatt Macy    },
29959826caSMatt Macy    {
30*18054d02SAlexander Motin        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes an page walk of any page size.",
31959826caSMatt Macy        "Counter": "0,1,2,3",
32*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
33*18054d02SAlexander Motin        "EventCode": "0x08",
34*18054d02SAlexander Motin        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
35*18054d02SAlexander Motin        "PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand loads.",
36959826caSMatt Macy        "SampleAfterValue": "100003",
37*18054d02SAlexander Motin        "UMask": "0x81"
38959826caSMatt Macy    },
39959826caSMatt Macy    {
40*18054d02SAlexander Motin        "BriefDescription": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
41959826caSMatt Macy        "Counter": "0,1,2,3",
42*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
43*18054d02SAlexander Motin        "EventCode": "0x5F",
44*18054d02SAlexander Motin        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
45*18054d02SAlexander Motin        "PublicDescription": "Counts load operations that missed 1st level DTLB but hit the 2nd level.",
46959826caSMatt Macy        "SampleAfterValue": "100003",
47*18054d02SAlexander Motin        "UMask": "0x4"
48959826caSMatt Macy    },
49959826caSMatt Macy    {
50*18054d02SAlexander Motin        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.",
51959826caSMatt Macy        "Counter": "0,1,2,3",
52*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
53*18054d02SAlexander Motin        "EventCode": "0x08",
54*18054d02SAlexander Motin        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
55*18054d02SAlexander Motin        "PublicDescription": "Misses in all TLB levels that caused page walk completed of any size by demand loads.",
56*18054d02SAlexander Motin        "SampleAfterValue": "100003",
57*18054d02SAlexander Motin        "UMask": "0x82"
58*18054d02SAlexander Motin    },
59*18054d02SAlexander Motin    {
60*18054d02SAlexander Motin        "BriefDescription": "Demand load cycles page miss handler (PMH) is busy with this walk.",
61*18054d02SAlexander Motin        "Counter": "0,1,2,3",
62*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
63*18054d02SAlexander Motin        "EventCode": "0x08",
64*18054d02SAlexander Motin        "EventName": "DTLB_LOAD_MISSES.WALK_DURATION",
65*18054d02SAlexander Motin        "PublicDescription": "Cycle PMH is busy with a walk due to demand loads.",
66959826caSMatt Macy        "SampleAfterValue": "2000003",
67*18054d02SAlexander Motin        "UMask": "0x84"
68959826caSMatt Macy    },
69959826caSMatt Macy    {
70*18054d02SAlexander Motin        "BriefDescription": "Store misses in all DTLB levels that cause page walks",
71*18054d02SAlexander Motin        "Counter": "0,1,2,3",
72*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
73959826caSMatt Macy        "EventCode": "0x49",
74*18054d02SAlexander Motin        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
75*18054d02SAlexander Motin        "PublicDescription": "Miss in all TLB levels causes a page walk of any page size (4K/2M/4M/1G).",
76959826caSMatt Macy        "SampleAfterValue": "100003",
77*18054d02SAlexander Motin        "UMask": "0x1"
78959826caSMatt Macy    },
79959826caSMatt Macy    {
80*18054d02SAlexander Motin        "BriefDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks",
81959826caSMatt Macy        "Counter": "0,1,2,3",
82*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
83*18054d02SAlexander Motin        "EventCode": "0x49",
84*18054d02SAlexander Motin        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
85*18054d02SAlexander Motin        "PublicDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
86*18054d02SAlexander Motin        "SampleAfterValue": "100003",
87*18054d02SAlexander Motin        "UMask": "0x10"
88*18054d02SAlexander Motin    },
89*18054d02SAlexander Motin    {
90*18054d02SAlexander Motin        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks",
91*18054d02SAlexander Motin        "Counter": "0,1,2,3",
92*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
93*18054d02SAlexander Motin        "EventCode": "0x49",
94*18054d02SAlexander Motin        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
95*18054d02SAlexander Motin        "PublicDescription": "Miss in all TLB levels causes a page walk that completes of any page size (4K/2M/4M/1G).",
96*18054d02SAlexander Motin        "SampleAfterValue": "100003",
97*18054d02SAlexander Motin        "UMask": "0x2"
98*18054d02SAlexander Motin    },
99*18054d02SAlexander Motin    {
100*18054d02SAlexander Motin        "BriefDescription": "Cycles when PMH is busy with page walks",
101*18054d02SAlexander Motin        "Counter": "0,1,2,3",
102*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
103*18054d02SAlexander Motin        "EventCode": "0x49",
104*18054d02SAlexander Motin        "EventName": "DTLB_STORE_MISSES.WALK_DURATION",
105*18054d02SAlexander Motin        "PublicDescription": "Cycles PMH is busy with this walk.",
106*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
107*18054d02SAlexander Motin        "UMask": "0x4"
108*18054d02SAlexander Motin    },
109*18054d02SAlexander Motin    {
110*18054d02SAlexander Motin        "BriefDescription": "Cycle count for an Extended Page table walk.  The Extended Page Directory cache is used by Virtual Machine operating systems while the guest operating systems use the standard TLB caches.",
111*18054d02SAlexander Motin        "Counter": "0,1,2,3",
112*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
113*18054d02SAlexander Motin        "EventCode": "0x4F",
114959826caSMatt Macy        "EventName": "EPT.WALK_CYCLES",
115959826caSMatt Macy        "SampleAfterValue": "2000003",
116*18054d02SAlexander Motin        "UMask": "0x10"
117959826caSMatt Macy    },
118959826caSMatt Macy    {
119959826caSMatt Macy        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
120*18054d02SAlexander Motin        "Counter": "0,1,2,3",
121*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
122*18054d02SAlexander Motin        "EventCode": "0xAE",
123*18054d02SAlexander Motin        "EventName": "ITLB.ITLB_FLUSH",
124*18054d02SAlexander Motin        "PublicDescription": "Counts the number of ITLB flushes, includes 4k/2M/4M pages.",
125*18054d02SAlexander Motin        "SampleAfterValue": "100007",
126*18054d02SAlexander Motin        "UMask": "0x1"
127959826caSMatt Macy    },
128959826caSMatt Macy    {
129*18054d02SAlexander Motin        "BriefDescription": "Completed page walks in ITLB due to STLB load misses for large pages",
130959826caSMatt Macy        "Counter": "0,1,2,3",
131*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
132*18054d02SAlexander Motin        "EventCode": "0x85",
133*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.LARGE_PAGE_WALK_COMPLETED",
134*18054d02SAlexander Motin        "PublicDescription": "Completed page walks in ITLB due to STLB load misses for large pages.",
135*18054d02SAlexander Motin        "SampleAfterValue": "100003",
136*18054d02SAlexander Motin        "UMask": "0x80"
137*18054d02SAlexander Motin    },
138*18054d02SAlexander Motin    {
139*18054d02SAlexander Motin        "BriefDescription": "Misses at all ITLB levels that cause page walks",
140*18054d02SAlexander Motin        "Counter": "0,1,2,3",
141*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
142*18054d02SAlexander Motin        "EventCode": "0x85",
143*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
144*18054d02SAlexander Motin        "PublicDescription": "Misses in all ITLB levels that cause page walks.",
145*18054d02SAlexander Motin        "SampleAfterValue": "100003",
146*18054d02SAlexander Motin        "UMask": "0x1"
147*18054d02SAlexander Motin    },
148*18054d02SAlexander Motin    {
149*18054d02SAlexander Motin        "BriefDescription": "Operations that miss the first ITLB level but hit the second and do not cause any page walks",
150*18054d02SAlexander Motin        "Counter": "0,1,2,3",
151*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
152*18054d02SAlexander Motin        "EventCode": "0x85",
153*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.STLB_HIT",
154*18054d02SAlexander Motin        "PublicDescription": "Number of cache load STLB hits. No page walk.",
155*18054d02SAlexander Motin        "SampleAfterValue": "100003",
156*18054d02SAlexander Motin        "UMask": "0x10"
157*18054d02SAlexander Motin    },
158*18054d02SAlexander Motin    {
159*18054d02SAlexander Motin        "BriefDescription": "Misses in all ITLB levels that cause completed page walks",
160*18054d02SAlexander Motin        "Counter": "0,1,2,3",
161*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
162*18054d02SAlexander Motin        "EventCode": "0x85",
163*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.WALK_COMPLETED",
164*18054d02SAlexander Motin        "PublicDescription": "Misses in all ITLB levels that cause completed page walks.",
165*18054d02SAlexander Motin        "SampleAfterValue": "100003",
166*18054d02SAlexander Motin        "UMask": "0x2"
167*18054d02SAlexander Motin    },
168*18054d02SAlexander Motin    {
169*18054d02SAlexander Motin        "BriefDescription": "Cycles when PMH is busy with page walks",
170*18054d02SAlexander Motin        "Counter": "0,1,2,3",
171*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
172*18054d02SAlexander Motin        "EventCode": "0x85",
173*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.WALK_DURATION",
174*18054d02SAlexander Motin        "PublicDescription": "Cycle PMH is busy with a walk.",
175*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
176*18054d02SAlexander Motin        "UMask": "0x4"
177*18054d02SAlexander Motin    },
178*18054d02SAlexander Motin    {
179959826caSMatt Macy        "BriefDescription": "DTLB flush attempts of the thread-specific entries",
180*18054d02SAlexander Motin        "Counter": "0,1,2,3",
181*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
182*18054d02SAlexander Motin        "EventCode": "0xBD",
183*18054d02SAlexander Motin        "EventName": "TLB_FLUSH.DTLB_THREAD",
184*18054d02SAlexander Motin        "PublicDescription": "DTLB flush attempts of the thread-specific entries.",
185*18054d02SAlexander Motin        "SampleAfterValue": "100007",
186*18054d02SAlexander Motin        "UMask": "0x1"
187959826caSMatt Macy    },
188959826caSMatt Macy    {
189959826caSMatt Macy        "BriefDescription": "STLB flush attempts",
190*18054d02SAlexander Motin        "Counter": "0,1,2,3",
191*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
192*18054d02SAlexander Motin        "EventCode": "0xBD",
193*18054d02SAlexander Motin        "EventName": "TLB_FLUSH.STLB_ANY",
194*18054d02SAlexander Motin        "PublicDescription": "Count number of STLB flush attempts.",
195*18054d02SAlexander Motin        "SampleAfterValue": "100007",
196*18054d02SAlexander Motin        "UMask": "0x20"
197959826caSMatt Macy    }
198959826caSMatt Macy]