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