xref: /freebsd/lib/libpmc/pmu-events/arch/x86/ivytown/virtual-memory.json (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
1[
2    {
3        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.",
4        "Counter": "0,1,2,3",
5        "CounterHTOff": "0,1,2,3,4,5,6,7",
6        "EventCode": "0x08",
7        "EventName": "DTLB_LOAD_MISSES.DEMAND_LD_WALK_COMPLETED",
8        "SampleAfterValue": "100003",
9        "UMask": "0x82"
10    },
11    {
12        "BriefDescription": "Demand load cycles page miss handler (PMH) is busy with this walk.",
13        "Counter": "0,1,2,3",
14        "CounterHTOff": "0,1,2,3,4,5,6,7",
15        "EventCode": "0x08",
16        "EventName": "DTLB_LOAD_MISSES.DEMAND_LD_WALK_DURATION",
17        "SampleAfterValue": "2000003",
18        "UMask": "0x84"
19    },
20    {
21        "BriefDescription": "Page walk for a large page completed for Demand load.",
22        "Counter": "0,1,2,3",
23        "CounterHTOff": "0,1,2,3,4,5,6,7",
24        "EventCode": "0x08",
25        "EventName": "DTLB_LOAD_MISSES.LARGE_PAGE_WALK_COMPLETED",
26        "SampleAfterValue": "100003",
27        "UMask": "0x88"
28    },
29    {
30        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes an page walk of any page size.",
31        "Counter": "0,1,2,3",
32        "CounterHTOff": "0,1,2,3,4,5,6,7",
33        "EventCode": "0x08",
34        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
35        "PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand loads.",
36        "SampleAfterValue": "100003",
37        "UMask": "0x81"
38    },
39    {
40        "BriefDescription": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
41        "Counter": "0,1,2,3",
42        "CounterHTOff": "0,1,2,3,4,5,6,7",
43        "EventCode": "0x5F",
44        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
45        "PublicDescription": "Counts load operations that missed 1st level DTLB but hit the 2nd level.",
46        "SampleAfterValue": "100003",
47        "UMask": "0x4"
48    },
49    {
50        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.",
51        "Counter": "0,1,2,3",
52        "CounterHTOff": "0,1,2,3,4,5,6,7",
53        "EventCode": "0x08",
54        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
55        "PublicDescription": "Misses in all TLB levels that caused page walk completed of any size by demand loads.",
56        "SampleAfterValue": "100003",
57        "UMask": "0x82"
58    },
59    {
60        "BriefDescription": "Demand load cycles page miss handler (PMH) is busy with this walk.",
61        "Counter": "0,1,2,3",
62        "CounterHTOff": "0,1,2,3,4,5,6,7",
63        "EventCode": "0x08",
64        "EventName": "DTLB_LOAD_MISSES.WALK_DURATION",
65        "PublicDescription": "Cycle PMH is busy with a walk due to demand loads.",
66        "SampleAfterValue": "2000003",
67        "UMask": "0x84"
68    },
69    {
70        "BriefDescription": "Store misses in all DTLB levels that cause page walks",
71        "Counter": "0,1,2,3",
72        "CounterHTOff": "0,1,2,3,4,5,6,7",
73        "EventCode": "0x49",
74        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
75        "PublicDescription": "Miss in all TLB levels causes a page walk of any page size (4K/2M/4M/1G).",
76        "SampleAfterValue": "100003",
77        "UMask": "0x1"
78    },
79    {
80        "BriefDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks",
81        "Counter": "0,1,2,3",
82        "CounterHTOff": "0,1,2,3,4,5,6,7",
83        "EventCode": "0x49",
84        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
85        "PublicDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
86        "SampleAfterValue": "100003",
87        "UMask": "0x10"
88    },
89    {
90        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks",
91        "Counter": "0,1,2,3",
92        "CounterHTOff": "0,1,2,3,4,5,6,7",
93        "EventCode": "0x49",
94        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
95        "PublicDescription": "Miss in all TLB levels causes a page walk that completes of any page size (4K/2M/4M/1G).",
96        "SampleAfterValue": "100003",
97        "UMask": "0x2"
98    },
99    {
100        "BriefDescription": "Cycles when PMH is busy with page walks",
101        "Counter": "0,1,2,3",
102        "CounterHTOff": "0,1,2,3,4,5,6,7",
103        "EventCode": "0x49",
104        "EventName": "DTLB_STORE_MISSES.WALK_DURATION",
105        "PublicDescription": "Cycles PMH is busy with this walk.",
106        "SampleAfterValue": "2000003",
107        "UMask": "0x4"
108    },
109    {
110        "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        "Counter": "0,1,2,3",
112        "CounterHTOff": "0,1,2,3,4,5,6,7",
113        "EventCode": "0x4F",
114        "EventName": "EPT.WALK_CYCLES",
115        "SampleAfterValue": "2000003",
116        "UMask": "0x10"
117    },
118    {
119        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
120        "Counter": "0,1,2,3",
121        "CounterHTOff": "0,1,2,3,4,5,6,7",
122        "EventCode": "0xAE",
123        "EventName": "ITLB.ITLB_FLUSH",
124        "PublicDescription": "Counts the number of ITLB flushes, includes 4k/2M/4M pages.",
125        "SampleAfterValue": "100007",
126        "UMask": "0x1"
127    },
128    {
129        "BriefDescription": "Completed page walks in ITLB due to STLB load misses for large pages",
130        "Counter": "0,1,2,3",
131        "CounterHTOff": "0,1,2,3,4,5,6,7",
132        "EventCode": "0x85",
133        "EventName": "ITLB_MISSES.LARGE_PAGE_WALK_COMPLETED",
134        "PublicDescription": "Completed page walks in ITLB due to STLB load misses for large pages.",
135        "SampleAfterValue": "100003",
136        "UMask": "0x80"
137    },
138    {
139        "BriefDescription": "Misses at all ITLB levels that cause page walks",
140        "Counter": "0,1,2,3",
141        "CounterHTOff": "0,1,2,3,4,5,6,7",
142        "EventCode": "0x85",
143        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
144        "PublicDescription": "Misses in all ITLB levels that cause page walks.",
145        "SampleAfterValue": "100003",
146        "UMask": "0x1"
147    },
148    {
149        "BriefDescription": "Operations that miss the first ITLB level but hit the second and do not cause any page walks",
150        "Counter": "0,1,2,3",
151        "CounterHTOff": "0,1,2,3,4,5,6,7",
152        "EventCode": "0x85",
153        "EventName": "ITLB_MISSES.STLB_HIT",
154        "PublicDescription": "Number of cache load STLB hits. No page walk.",
155        "SampleAfterValue": "100003",
156        "UMask": "0x10"
157    },
158    {
159        "BriefDescription": "Misses in all ITLB levels that cause completed page walks",
160        "Counter": "0,1,2,3",
161        "CounterHTOff": "0,1,2,3,4,5,6,7",
162        "EventCode": "0x85",
163        "EventName": "ITLB_MISSES.WALK_COMPLETED",
164        "PublicDescription": "Misses in all ITLB levels that cause completed page walks.",
165        "SampleAfterValue": "100003",
166        "UMask": "0x2"
167    },
168    {
169        "BriefDescription": "Cycles when PMH is busy with page walks",
170        "Counter": "0,1,2,3",
171        "CounterHTOff": "0,1,2,3,4,5,6,7",
172        "EventCode": "0x85",
173        "EventName": "ITLB_MISSES.WALK_DURATION",
174        "PublicDescription": "Cycle PMH is busy with a walk.",
175        "SampleAfterValue": "2000003",
176        "UMask": "0x4"
177    },
178    {
179        "BriefDescription": "DTLB flush attempts of the thread-specific entries",
180        "Counter": "0,1,2,3",
181        "CounterHTOff": "0,1,2,3,4,5,6,7",
182        "EventCode": "0xBD",
183        "EventName": "TLB_FLUSH.DTLB_THREAD",
184        "PublicDescription": "DTLB flush attempts of the thread-specific entries.",
185        "SampleAfterValue": "100007",
186        "UMask": "0x1"
187    },
188    {
189        "BriefDescription": "STLB flush attempts",
190        "Counter": "0,1,2,3",
191        "CounterHTOff": "0,1,2,3,4,5,6,7",
192        "EventCode": "0xBD",
193        "EventName": "TLB_FLUSH.STLB_ANY",
194        "PublicDescription": "Count number of STLB flush attempts.",
195        "SampleAfterValue": "100007",
196        "UMask": "0x20"
197    }
198]