xref: /freebsd/lib/libpmc/pmu-events/arch/x86/ivybridge/virtual-memory.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1959826caSMatt Macy[
2959826caSMatt Macy    {
3*18054d02SAlexander Motin        "BriefDescription": "Page walk for a large page completed for Demand load.",
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.LARGE_PAGE_WALK_COMPLETED",
8959826caSMatt Macy        "SampleAfterValue": "100003",
9*18054d02SAlexander Motin        "UMask": "0x88"
10959826caSMatt Macy    },
11959826caSMatt Macy    {
12*18054d02SAlexander Motin        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes an page walk of any page size.",
13959826caSMatt Macy        "Counter": "0,1,2,3",
14*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
15*18054d02SAlexander Motin        "EventCode": "0x08",
16*18054d02SAlexander Motin        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
17*18054d02SAlexander Motin        "PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand loads.",
18959826caSMatt Macy        "SampleAfterValue": "100003",
19*18054d02SAlexander Motin        "UMask": "0x81"
20959826caSMatt Macy    },
21959826caSMatt Macy    {
22*18054d02SAlexander Motin        "BriefDescription": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
23959826caSMatt Macy        "Counter": "0,1,2,3",
24*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
25*18054d02SAlexander Motin        "EventCode": "0x5F",
26*18054d02SAlexander Motin        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
27*18054d02SAlexander Motin        "PublicDescription": "Counts load operations that missed 1st level DTLB but hit the 2nd level.",
28959826caSMatt Macy        "SampleAfterValue": "100003",
29*18054d02SAlexander Motin        "UMask": "0x4"
30959826caSMatt Macy    },
31959826caSMatt Macy    {
32*18054d02SAlexander Motin        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.",
33959826caSMatt Macy        "Counter": "0,1,2,3",
34*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
35*18054d02SAlexander Motin        "EventCode": "0x08",
36*18054d02SAlexander Motin        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
37*18054d02SAlexander Motin        "PublicDescription": "Misses in all TLB levels that caused page walk completed of any size by demand loads.",
38*18054d02SAlexander Motin        "SampleAfterValue": "100003",
39*18054d02SAlexander Motin        "UMask": "0x82"
40*18054d02SAlexander Motin    },
41*18054d02SAlexander Motin    {
42*18054d02SAlexander Motin        "BriefDescription": "Demand load cycles page miss handler (PMH) is busy with this walk.",
43*18054d02SAlexander Motin        "Counter": "0,1,2,3",
44*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
45*18054d02SAlexander Motin        "EventCode": "0x08",
46*18054d02SAlexander Motin        "EventName": "DTLB_LOAD_MISSES.WALK_DURATION",
47*18054d02SAlexander Motin        "PublicDescription": "Cycle PMH is busy with a walk due to demand loads.",
48959826caSMatt Macy        "SampleAfterValue": "2000003",
49*18054d02SAlexander Motin        "UMask": "0x84"
50959826caSMatt Macy    },
51959826caSMatt Macy    {
52*18054d02SAlexander Motin        "BriefDescription": "Store misses in all DTLB levels that cause page walks",
53*18054d02SAlexander Motin        "Counter": "0,1,2,3",
54*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
55959826caSMatt Macy        "EventCode": "0x49",
56*18054d02SAlexander Motin        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
57*18054d02SAlexander Motin        "PublicDescription": "Miss in all TLB levels causes a page walk of any page size (4K/2M/4M/1G).",
58959826caSMatt Macy        "SampleAfterValue": "100003",
59*18054d02SAlexander Motin        "UMask": "0x1"
60959826caSMatt Macy    },
61959826caSMatt Macy    {
62*18054d02SAlexander Motin        "BriefDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks",
63959826caSMatt Macy        "Counter": "0,1,2,3",
64*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
65*18054d02SAlexander Motin        "EventCode": "0x49",
66*18054d02SAlexander Motin        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
67*18054d02SAlexander Motin        "PublicDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
68*18054d02SAlexander Motin        "SampleAfterValue": "100003",
69*18054d02SAlexander Motin        "UMask": "0x10"
70*18054d02SAlexander Motin    },
71*18054d02SAlexander Motin    {
72*18054d02SAlexander Motin        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks",
73*18054d02SAlexander Motin        "Counter": "0,1,2,3",
74*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
75*18054d02SAlexander Motin        "EventCode": "0x49",
76*18054d02SAlexander Motin        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
77*18054d02SAlexander Motin        "PublicDescription": "Miss in all TLB levels causes a page walk that completes of any page size (4K/2M/4M/1G).",
78*18054d02SAlexander Motin        "SampleAfterValue": "100003",
79*18054d02SAlexander Motin        "UMask": "0x2"
80*18054d02SAlexander Motin    },
81*18054d02SAlexander Motin    {
82*18054d02SAlexander Motin        "BriefDescription": "Cycles when PMH is busy with page walks",
83*18054d02SAlexander Motin        "Counter": "0,1,2,3",
84*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
85*18054d02SAlexander Motin        "EventCode": "0x49",
86*18054d02SAlexander Motin        "EventName": "DTLB_STORE_MISSES.WALK_DURATION",
87*18054d02SAlexander Motin        "PublicDescription": "Cycles PMH is busy with this walk.",
88*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
89*18054d02SAlexander Motin        "UMask": "0x4"
90*18054d02SAlexander Motin    },
91*18054d02SAlexander Motin    {
92*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.",
93*18054d02SAlexander Motin        "Counter": "0,1,2,3",
94*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
95*18054d02SAlexander Motin        "EventCode": "0x4F",
96959826caSMatt Macy        "EventName": "EPT.WALK_CYCLES",
97959826caSMatt Macy        "SampleAfterValue": "2000003",
98*18054d02SAlexander Motin        "UMask": "0x10"
99959826caSMatt Macy    },
100959826caSMatt Macy    {
101959826caSMatt Macy        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
102*18054d02SAlexander Motin        "Counter": "0,1,2,3",
103*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
104*18054d02SAlexander Motin        "EventCode": "0xAE",
105*18054d02SAlexander Motin        "EventName": "ITLB.ITLB_FLUSH",
106*18054d02SAlexander Motin        "PublicDescription": "Counts the number of ITLB flushes, includes 4k/2M/4M pages.",
107*18054d02SAlexander Motin        "SampleAfterValue": "100007",
108*18054d02SAlexander Motin        "UMask": "0x1"
109959826caSMatt Macy    },
110959826caSMatt Macy    {
111*18054d02SAlexander Motin        "BriefDescription": "Completed page walks in ITLB due to STLB load misses for large pages",
112959826caSMatt Macy        "Counter": "0,1,2,3",
113*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
114*18054d02SAlexander Motin        "EventCode": "0x85",
115*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.LARGE_PAGE_WALK_COMPLETED",
116*18054d02SAlexander Motin        "PublicDescription": "Completed page walks in ITLB due to STLB load misses for large pages.",
117*18054d02SAlexander Motin        "SampleAfterValue": "100003",
118*18054d02SAlexander Motin        "UMask": "0x80"
119*18054d02SAlexander Motin    },
120*18054d02SAlexander Motin    {
121*18054d02SAlexander Motin        "BriefDescription": "Misses at all ITLB levels that cause page walks",
122*18054d02SAlexander Motin        "Counter": "0,1,2,3",
123*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
124*18054d02SAlexander Motin        "EventCode": "0x85",
125*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
126*18054d02SAlexander Motin        "PublicDescription": "Misses in all ITLB levels that cause page walks.",
127*18054d02SAlexander Motin        "SampleAfterValue": "100003",
128*18054d02SAlexander Motin        "UMask": "0x1"
129*18054d02SAlexander Motin    },
130*18054d02SAlexander Motin    {
131*18054d02SAlexander Motin        "BriefDescription": "Operations that miss the first ITLB level but hit the second and do not cause any page walks",
132*18054d02SAlexander Motin        "Counter": "0,1,2,3",
133*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
134*18054d02SAlexander Motin        "EventCode": "0x85",
135*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.STLB_HIT",
136*18054d02SAlexander Motin        "PublicDescription": "Number of cache load STLB hits. No page walk.",
137*18054d02SAlexander Motin        "SampleAfterValue": "100003",
138*18054d02SAlexander Motin        "UMask": "0x10"
139*18054d02SAlexander Motin    },
140*18054d02SAlexander Motin    {
141*18054d02SAlexander Motin        "BriefDescription": "Misses in all ITLB levels that cause completed page walks",
142*18054d02SAlexander Motin        "Counter": "0,1,2,3",
143*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
144*18054d02SAlexander Motin        "EventCode": "0x85",
145*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.WALK_COMPLETED",
146*18054d02SAlexander Motin        "PublicDescription": "Misses in all ITLB levels that cause completed page walks.",
147*18054d02SAlexander Motin        "SampleAfterValue": "100003",
148*18054d02SAlexander Motin        "UMask": "0x2"
149*18054d02SAlexander Motin    },
150*18054d02SAlexander Motin    {
151*18054d02SAlexander Motin        "BriefDescription": "Cycles when PMH is busy with page walks",
152*18054d02SAlexander Motin        "Counter": "0,1,2,3",
153*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
154*18054d02SAlexander Motin        "EventCode": "0x85",
155*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.WALK_DURATION",
156*18054d02SAlexander Motin        "PublicDescription": "Cycle PMH is busy with a walk.",
157*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
158*18054d02SAlexander Motin        "UMask": "0x4"
159*18054d02SAlexander Motin    },
160*18054d02SAlexander Motin    {
161959826caSMatt Macy        "BriefDescription": "DTLB flush attempts of the thread-specific entries",
162*18054d02SAlexander Motin        "Counter": "0,1,2,3",
163*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
164*18054d02SAlexander Motin        "EventCode": "0xBD",
165*18054d02SAlexander Motin        "EventName": "TLB_FLUSH.DTLB_THREAD",
166*18054d02SAlexander Motin        "PublicDescription": "DTLB flush attempts of the thread-specific entries.",
167*18054d02SAlexander Motin        "SampleAfterValue": "100007",
168*18054d02SAlexander Motin        "UMask": "0x1"
169959826caSMatt Macy    },
170959826caSMatt Macy    {
171959826caSMatt Macy        "BriefDescription": "STLB flush attempts",
172*18054d02SAlexander Motin        "Counter": "0,1,2,3",
173*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
174*18054d02SAlexander Motin        "EventCode": "0xBD",
175*18054d02SAlexander Motin        "EventName": "TLB_FLUSH.STLB_ANY",
176*18054d02SAlexander Motin        "PublicDescription": "Count number of STLB flush attempts.",
177*18054d02SAlexander Motin        "SampleAfterValue": "100007",
178*18054d02SAlexander Motin        "UMask": "0x20"
179959826caSMatt Macy    }
180959826caSMatt Macy]