xref: /freebsd/lib/libpmc/pmu-events/arch/x86/sandybridge/virtual-memory.json (revision 92b14858b44dc4b3b57154a10e9de1b39d791e41)
1[
2    {
3        "EventCode": "0x08",
4        "Counter": "0,1,2,3",
5        "UMask": "0x1",
6        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
7        "SampleAfterValue": "100003",
8        "BriefDescription": "Load misses in all DTLB levels that cause page walks.",
9        "CounterHTOff": "0,1,2,3,4,5,6,7"
10    },
11    {
12        "EventCode": "0x08",
13        "Counter": "0,1,2,3",
14        "UMask": "0x2",
15        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
16        "SampleAfterValue": "100003",
17        "BriefDescription": "Load misses at all DTLB levels that cause completed page walks.",
18        "CounterHTOff": "0,1,2,3,4,5,6,7"
19    },
20    {
21        "PublicDescription": "This event counts cycles when the  page miss handler (PMH) is servicing page walks caused by DTLB load misses.",
22        "EventCode": "0x08",
23        "Counter": "0,1,2,3",
24        "UMask": "0x4",
25        "EventName": "DTLB_LOAD_MISSES.WALK_DURATION",
26        "SampleAfterValue": "2000003",
27        "BriefDescription": "Cycles when PMH is busy with page walks.",
28        "CounterHTOff": "0,1,2,3,4,5,6,7"
29    },
30    {
31        "PublicDescription": "This event counts load operations that miss the first DTLB level but hit the second and do not cause any page walks. The penalty in this case is approximately 7 cycles.",
32        "EventCode": "0x08",
33        "Counter": "0,1,2,3",
34        "UMask": "0x10",
35        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
36        "SampleAfterValue": "100003",
37        "BriefDescription": "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
38        "CounterHTOff": "0,1,2,3,4,5,6,7"
39    },
40    {
41        "EventCode": "0x49",
42        "Counter": "0,1,2,3",
43        "UMask": "0x1",
44        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
45        "SampleAfterValue": "100003",
46        "BriefDescription": "Store misses in all DTLB levels that cause page walks.",
47        "CounterHTOff": "0,1,2,3,4,5,6,7"
48    },
49    {
50        "EventCode": "0x49",
51        "Counter": "0,1,2,3",
52        "UMask": "0x2",
53        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
54        "SampleAfterValue": "100003",
55        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
56        "CounterHTOff": "0,1,2,3,4,5,6,7"
57    },
58    {
59        "EventCode": "0x49",
60        "Counter": "0,1,2,3",
61        "UMask": "0x4",
62        "EventName": "DTLB_STORE_MISSES.WALK_DURATION",
63        "SampleAfterValue": "2000003",
64        "BriefDescription": "Cycles when PMH is busy with page walks.",
65        "CounterHTOff": "0,1,2,3,4,5,6,7"
66    },
67    {
68        "EventCode": "0x49",
69        "Counter": "0,1,2,3",
70        "UMask": "0x10",
71        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
72        "SampleAfterValue": "100003",
73        "BriefDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
74        "CounterHTOff": "0,1,2,3,4,5,6,7"
75    },
76    {
77        "EventCode": "0x4F",
78        "Counter": "0,1,2,3",
79        "UMask": "0x10",
80        "EventName": "EPT.WALK_CYCLES",
81        "SampleAfterValue": "2000003",
82        "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.",
83        "CounterHTOff": "0,1,2,3,4,5,6,7"
84    },
85    {
86        "EventCode": "0x85",
87        "Counter": "0,1,2,3",
88        "UMask": "0x1",
89        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
90        "SampleAfterValue": "100003",
91        "BriefDescription": "Misses at all ITLB levels that cause page walks.",
92        "CounterHTOff": "0,1,2,3,4,5,6,7"
93    },
94    {
95        "EventCode": "0x85",
96        "Counter": "0,1,2,3",
97        "UMask": "0x2",
98        "EventName": "ITLB_MISSES.WALK_COMPLETED",
99        "SampleAfterValue": "100003",
100        "BriefDescription": "Misses in all ITLB levels that cause completed page walks.",
101        "CounterHTOff": "0,1,2,3,4,5,6,7"
102    },
103    {
104        "PublicDescription": "This event count cycles when Page Miss Handler (PMH) is servicing page walks caused by ITLB misses.",
105        "EventCode": "0x85",
106        "Counter": "0,1,2,3",
107        "UMask": "0x4",
108        "EventName": "ITLB_MISSES.WALK_DURATION",
109        "SampleAfterValue": "2000003",
110        "BriefDescription": "Cycles when PMH is busy with page walks.",
111        "CounterHTOff": "0,1,2,3,4,5,6,7"
112    },
113    {
114        "EventCode": "0x85",
115        "Counter": "0,1,2,3",
116        "UMask": "0x10",
117        "EventName": "ITLB_MISSES.STLB_HIT",
118        "SampleAfterValue": "100003",
119        "BriefDescription": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
120        "CounterHTOff": "0,1,2,3,4,5,6,7"
121    },
122    {
123        "EventCode": "0xAE",
124        "Counter": "0,1,2,3",
125        "UMask": "0x1",
126        "EventName": "ITLB.ITLB_FLUSH",
127        "SampleAfterValue": "100007",
128        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
129        "CounterHTOff": "0,1,2,3,4,5,6,7"
130    },
131    {
132        "EventCode": "0xBD",
133        "Counter": "0,1,2,3",
134        "UMask": "0x1",
135        "EventName": "TLB_FLUSH.DTLB_THREAD",
136        "SampleAfterValue": "100007",
137        "BriefDescription": "DTLB flush attempts of the thread-specific entries.",
138        "CounterHTOff": "0,1,2,3,4,5,6,7"
139    },
140    {
141        "EventCode": "0xBD",
142        "Counter": "0,1,2,3",
143        "UMask": "0x20",
144        "EventName": "TLB_FLUSH.STLB_ANY",
145        "SampleAfterValue": "100007",
146        "BriefDescription": "STLB flush attempts.",
147        "CounterHTOff": "0,1,2,3,4,5,6,7"
148    }
149]