xref: /freebsd/lib/libpmc/pmu-events/arch/x86/jaketown/virtual-memory.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1959826caSMatt Macy[
2959826caSMatt Macy    {
3*18054d02SAlexander Motin        "BriefDescription": "Load misses in all DTLB levels that cause page walks.",
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.MISS_CAUSES_A_WALK",
8959826caSMatt Macy        "SampleAfterValue": "100003",
9*18054d02SAlexander Motin        "UMask": "0x1"
10959826caSMatt Macy    },
11959826caSMatt Macy    {
12*18054d02SAlexander Motin        "BriefDescription": "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
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.STLB_HIT",
17*18054d02SAlexander Motin        "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*18054d02SAlexander Motin        "SampleAfterValue": "100003",
19*18054d02SAlexander Motin        "UMask": "0x10"
20*18054d02SAlexander Motin    },
21*18054d02SAlexander Motin    {
22*18054d02SAlexander Motin        "BriefDescription": "Load misses at all DTLB levels that cause completed page walks.",
23*18054d02SAlexander Motin        "Counter": "0,1,2,3",
24*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
25*18054d02SAlexander Motin        "EventCode": "0x08",
26959826caSMatt Macy        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
27959826caSMatt Macy        "SampleAfterValue": "100003",
28*18054d02SAlexander Motin        "UMask": "0x2"
29959826caSMatt Macy    },
30959826caSMatt Macy    {
31959826caSMatt Macy        "BriefDescription": "Cycles when PMH is busy with page walks.",
32*18054d02SAlexander Motin        "Counter": "0,1,2,3",
33*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
34959826caSMatt Macy        "EventCode": "0x08",
35*18054d02SAlexander Motin        "EventName": "DTLB_LOAD_MISSES.WALK_DURATION",
36*18054d02SAlexander Motin        "PublicDescription": "This event counts cycles when the  page miss handler (PMH) is servicing page walks caused by DTLB load misses.",
37*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
38*18054d02SAlexander Motin        "UMask": "0x4"
39959826caSMatt Macy    },
40959826caSMatt Macy    {
41*18054d02SAlexander Motin        "BriefDescription": "Store misses in all DTLB levels that cause page walks.",
42959826caSMatt Macy        "Counter": "0,1,2,3",
43*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
44*18054d02SAlexander Motin        "EventCode": "0x49",
45959826caSMatt Macy        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
46959826caSMatt Macy        "SampleAfterValue": "100003",
47*18054d02SAlexander Motin        "UMask": "0x1"
48959826caSMatt Macy    },
49959826caSMatt Macy    {
50*18054d02SAlexander Motin        "BriefDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
51959826caSMatt Macy        "Counter": "0,1,2,3",
52*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
53959826caSMatt Macy        "EventCode": "0x49",
54959826caSMatt Macy        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
55959826caSMatt Macy        "SampleAfterValue": "100003",
56*18054d02SAlexander Motin        "UMask": "0x10"
57959826caSMatt Macy    },
58959826caSMatt Macy    {
59*18054d02SAlexander Motin        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
60959826caSMatt Macy        "Counter": "0,1,2,3",
61*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
62*18054d02SAlexander Motin        "EventCode": "0x49",
63*18054d02SAlexander Motin        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
64*18054d02SAlexander Motin        "SampleAfterValue": "100003",
65*18054d02SAlexander Motin        "UMask": "0x2"
66*18054d02SAlexander Motin    },
67*18054d02SAlexander Motin    {
68*18054d02SAlexander Motin        "BriefDescription": "Cycles when PMH is busy with page walks.",
69*18054d02SAlexander Motin        "Counter": "0,1,2,3",
70*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
71*18054d02SAlexander Motin        "EventCode": "0x49",
72*18054d02SAlexander Motin        "EventName": "DTLB_STORE_MISSES.WALK_DURATION",
73*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
74*18054d02SAlexander Motin        "UMask": "0x4"
75*18054d02SAlexander Motin    },
76*18054d02SAlexander Motin    {
77*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.",
78*18054d02SAlexander Motin        "Counter": "0,1,2,3",
79*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
80*18054d02SAlexander Motin        "EventCode": "0x4F",
81*18054d02SAlexander Motin        "EventName": "EPT.WALK_CYCLES",
82*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
83*18054d02SAlexander Motin        "UMask": "0x10"
84*18054d02SAlexander Motin    },
85*18054d02SAlexander Motin    {
86*18054d02SAlexander Motin        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
87*18054d02SAlexander Motin        "Counter": "0,1,2,3",
88*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
89*18054d02SAlexander Motin        "EventCode": "0xAE",
90*18054d02SAlexander Motin        "EventName": "ITLB.ITLB_FLUSH",
91*18054d02SAlexander Motin        "SampleAfterValue": "100007",
92*18054d02SAlexander Motin        "UMask": "0x1"
93*18054d02SAlexander Motin    },
94*18054d02SAlexander Motin    {
95*18054d02SAlexander Motin        "BriefDescription": "Misses at all ITLB levels that cause page walks.",
96*18054d02SAlexander Motin        "Counter": "0,1,2,3",
97*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
98*18054d02SAlexander Motin        "EventCode": "0x85",
99*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
100*18054d02SAlexander Motin        "SampleAfterValue": "100003",
101*18054d02SAlexander Motin        "UMask": "0x1"
102*18054d02SAlexander Motin    },
103*18054d02SAlexander Motin    {
104*18054d02SAlexander Motin        "BriefDescription": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
105*18054d02SAlexander Motin        "Counter": "0,1,2,3",
106*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
107*18054d02SAlexander Motin        "EventCode": "0x85",
108*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.STLB_HIT",
109*18054d02SAlexander Motin        "SampleAfterValue": "100003",
110*18054d02SAlexander Motin        "UMask": "0x10"
111*18054d02SAlexander Motin    },
112*18054d02SAlexander Motin    {
113*18054d02SAlexander Motin        "BriefDescription": "Misses in all ITLB levels that cause completed page walks.",
114*18054d02SAlexander Motin        "Counter": "0,1,2,3",
115*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
116*18054d02SAlexander Motin        "EventCode": "0x85",
117*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.WALK_COMPLETED",
118*18054d02SAlexander Motin        "SampleAfterValue": "100003",
119*18054d02SAlexander Motin        "UMask": "0x2"
120*18054d02SAlexander Motin    },
121*18054d02SAlexander Motin    {
122*18054d02SAlexander Motin        "BriefDescription": "Cycles when PMH is busy with page walks.",
123*18054d02SAlexander Motin        "Counter": "0,1,2,3",
124*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
125*18054d02SAlexander Motin        "EventCode": "0x85",
126*18054d02SAlexander Motin        "EventName": "ITLB_MISSES.WALK_DURATION",
127*18054d02SAlexander Motin        "PublicDescription": "This event count cycles when Page Miss Handler (PMH) is servicing page walks caused by ITLB misses.",
128*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
129*18054d02SAlexander Motin        "UMask": "0x4"
130*18054d02SAlexander Motin    },
131*18054d02SAlexander Motin    {
132*18054d02SAlexander Motin        "BriefDescription": "DTLB flush attempts of the thread-specific entries.",
133*18054d02SAlexander Motin        "Counter": "0,1,2,3",
134*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
135*18054d02SAlexander Motin        "EventCode": "0xBD",
136959826caSMatt Macy        "EventName": "TLB_FLUSH.DTLB_THREAD",
137959826caSMatt Macy        "SampleAfterValue": "100007",
138*18054d02SAlexander Motin        "UMask": "0x1"
139959826caSMatt Macy    },
140959826caSMatt Macy    {
141*18054d02SAlexander Motin        "BriefDescription": "STLB flush attempts.",
142959826caSMatt Macy        "Counter": "0,1,2,3",
143*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
144*18054d02SAlexander Motin        "EventCode": "0xBD",
145959826caSMatt Macy        "EventName": "TLB_FLUSH.STLB_ANY",
146959826caSMatt Macy        "SampleAfterValue": "100007",
147*18054d02SAlexander Motin        "UMask": "0x20"
148959826caSMatt Macy    }
149959826caSMatt Macy]