16e82bdaeSAndi Kleen[
26e82bdaeSAndi Kleen    {
3*b5948fc6SIan Rogers        "BriefDescription": "Load misses in all DTLB levels that cause page walks.",
46e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
5*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
6*b5948fc6SIan Rogers        "EventCode": "0x08",
76e82bdaeSAndi Kleen        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
86e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
9*b5948fc6SIan Rogers        "UMask": "0x1"
106e82bdaeSAndi Kleen    },
116e82bdaeSAndi Kleen    {
12*b5948fc6SIan Rogers        "BriefDescription": "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
136e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
14*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
15*b5948fc6SIan Rogers        "EventCode": "0x08",
16*b5948fc6SIan Rogers        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
17*b5948fc6SIan Rogers        "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*b5948fc6SIan Rogers        "SampleAfterValue": "100003",
19*b5948fc6SIan Rogers        "UMask": "0x10"
20*b5948fc6SIan Rogers    },
21*b5948fc6SIan Rogers    {
22*b5948fc6SIan Rogers        "BriefDescription": "Load misses at all DTLB levels that cause completed page walks.",
23*b5948fc6SIan Rogers        "Counter": "0,1,2,3",
24*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
25*b5948fc6SIan Rogers        "EventCode": "0x08",
266e82bdaeSAndi Kleen        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
276e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
28*b5948fc6SIan Rogers        "UMask": "0x2"
296e82bdaeSAndi Kleen    },
306e82bdaeSAndi Kleen    {
316e82bdaeSAndi Kleen        "BriefDescription": "Cycles when PMH is busy with page walks.",
32*b5948fc6SIan Rogers        "Counter": "0,1,2,3",
33*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
346e82bdaeSAndi Kleen        "EventCode": "0x08",
35*b5948fc6SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_DURATION",
36*b5948fc6SIan Rogers        "PublicDescription": "This event counts cycles when the  page miss handler (PMH) is servicing page walks caused by DTLB load misses.",
37*b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
38*b5948fc6SIan Rogers        "UMask": "0x4"
396e82bdaeSAndi Kleen    },
406e82bdaeSAndi Kleen    {
41*b5948fc6SIan Rogers        "BriefDescription": "Store misses in all DTLB levels that cause page walks.",
426e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
43*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
44*b5948fc6SIan Rogers        "EventCode": "0x49",
456e82bdaeSAndi Kleen        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
466e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
47*b5948fc6SIan Rogers        "UMask": "0x1"
486e82bdaeSAndi Kleen    },
496e82bdaeSAndi Kleen    {
50*b5948fc6SIan Rogers        "BriefDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
516e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
52*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
536e82bdaeSAndi Kleen        "EventCode": "0x49",
546e82bdaeSAndi Kleen        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
556e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
56*b5948fc6SIan Rogers        "UMask": "0x10"
576e82bdaeSAndi Kleen    },
586e82bdaeSAndi Kleen    {
59*b5948fc6SIan Rogers        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
6059da390eSAndi Kleen        "Counter": "0,1,2,3",
61*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
62*b5948fc6SIan Rogers        "EventCode": "0x49",
63*b5948fc6SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
64*b5948fc6SIan Rogers        "SampleAfterValue": "100003",
65*b5948fc6SIan Rogers        "UMask": "0x2"
66*b5948fc6SIan Rogers    },
67*b5948fc6SIan Rogers    {
68*b5948fc6SIan Rogers        "BriefDescription": "Cycles when PMH is busy with page walks.",
69*b5948fc6SIan Rogers        "Counter": "0,1,2,3",
70*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
71*b5948fc6SIan Rogers        "EventCode": "0x49",
72*b5948fc6SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_DURATION",
73*b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
74*b5948fc6SIan Rogers        "UMask": "0x4"
75*b5948fc6SIan Rogers    },
76*b5948fc6SIan Rogers    {
77*b5948fc6SIan Rogers        "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*b5948fc6SIan Rogers        "Counter": "0,1,2,3",
79*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
80*b5948fc6SIan Rogers        "EventCode": "0x4F",
8159da390eSAndi Kleen        "EventName": "EPT.WALK_CYCLES",
8259da390eSAndi Kleen        "SampleAfterValue": "2000003",
83*b5948fc6SIan Rogers        "UMask": "0x10"
8459da390eSAndi Kleen    },
8559da390eSAndi Kleen    {
86*b5948fc6SIan Rogers        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
8759da390eSAndi Kleen        "Counter": "0,1,2,3",
88*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
8959da390eSAndi Kleen        "EventCode": "0xAE",
9059da390eSAndi Kleen        "EventName": "ITLB.ITLB_FLUSH",
9159da390eSAndi Kleen        "SampleAfterValue": "100007",
92*b5948fc6SIan Rogers        "UMask": "0x1"
9359da390eSAndi Kleen    },
9459da390eSAndi Kleen    {
95*b5948fc6SIan Rogers        "BriefDescription": "Misses at all ITLB levels that cause page walks.",
966e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
97*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
98*b5948fc6SIan Rogers        "EventCode": "0x85",
99*b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
100*b5948fc6SIan Rogers        "SampleAfterValue": "100003",
101*b5948fc6SIan Rogers        "UMask": "0x1"
102*b5948fc6SIan Rogers    },
103*b5948fc6SIan Rogers    {
104*b5948fc6SIan Rogers        "BriefDescription": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
105*b5948fc6SIan Rogers        "Counter": "0,1,2,3",
106*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
107*b5948fc6SIan Rogers        "EventCode": "0x85",
108*b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.STLB_HIT",
109*b5948fc6SIan Rogers        "SampleAfterValue": "100003",
110*b5948fc6SIan Rogers        "UMask": "0x10"
111*b5948fc6SIan Rogers    },
112*b5948fc6SIan Rogers    {
113*b5948fc6SIan Rogers        "BriefDescription": "Misses in all ITLB levels that cause completed page walks.",
114*b5948fc6SIan Rogers        "Counter": "0,1,2,3",
115*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
116*b5948fc6SIan Rogers        "EventCode": "0x85",
117*b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED",
118*b5948fc6SIan Rogers        "SampleAfterValue": "100003",
119*b5948fc6SIan Rogers        "UMask": "0x2"
120*b5948fc6SIan Rogers    },
121*b5948fc6SIan Rogers    {
122*b5948fc6SIan Rogers        "BriefDescription": "Cycles when PMH is busy with page walks.",
123*b5948fc6SIan Rogers        "Counter": "0,1,2,3",
124*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
125*b5948fc6SIan Rogers        "EventCode": "0x85",
126*b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.WALK_DURATION",
127*b5948fc6SIan Rogers        "PublicDescription": "This event count cycles when Page Miss Handler (PMH) is servicing page walks caused by ITLB misses.",
128*b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
129*b5948fc6SIan Rogers        "UMask": "0x4"
130*b5948fc6SIan Rogers    },
131*b5948fc6SIan Rogers    {
132*b5948fc6SIan Rogers        "BriefDescription": "DTLB flush attempts of the thread-specific entries.",
133*b5948fc6SIan Rogers        "Counter": "0,1,2,3",
134*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
135*b5948fc6SIan Rogers        "EventCode": "0xBD",
1366e82bdaeSAndi Kleen        "EventName": "TLB_FLUSH.DTLB_THREAD",
1376e82bdaeSAndi Kleen        "SampleAfterValue": "100007",
138*b5948fc6SIan Rogers        "UMask": "0x1"
1396e82bdaeSAndi Kleen    },
1406e82bdaeSAndi Kleen    {
141*b5948fc6SIan Rogers        "BriefDescription": "STLB flush attempts.",
1426e82bdaeSAndi Kleen        "Counter": "0,1,2,3",
143*b5948fc6SIan Rogers        "CounterHTOff": "0,1,2,3,4,5,6,7",
144*b5948fc6SIan Rogers        "EventCode": "0xBD",
1456e82bdaeSAndi Kleen        "EventName": "TLB_FLUSH.STLB_ANY",
1466e82bdaeSAndi Kleen        "SampleAfterValue": "100007",
147*b5948fc6SIan Rogers        "UMask": "0x20"
1486e82bdaeSAndi Kleen    }
1496e82bdaeSAndi Kleen]