16e82bdaeSAndi Kleen[
26e82bdaeSAndi Kleen    {
3*b5948fc6SIan Rogers        "BriefDescription": "Load misses in all DTLB levels that cause page walks.",
4*b5948fc6SIan Rogers        "EventCode": "0x08",
56e82bdaeSAndi Kleen        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
66e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
7*b5948fc6SIan Rogers        "UMask": "0x1"
86e82bdaeSAndi Kleen    },
96e82bdaeSAndi Kleen    {
10*b5948fc6SIan Rogers        "BriefDescription": "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
11*b5948fc6SIan Rogers        "EventCode": "0x08",
12*b5948fc6SIan Rogers        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
13*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.",
14*b5948fc6SIan Rogers        "SampleAfterValue": "100003",
15*b5948fc6SIan Rogers        "UMask": "0x10"
16*b5948fc6SIan Rogers    },
17*b5948fc6SIan Rogers    {
18*b5948fc6SIan Rogers        "BriefDescription": "Load misses at all DTLB levels that cause completed page walks.",
19*b5948fc6SIan Rogers        "EventCode": "0x08",
206e82bdaeSAndi Kleen        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
216e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
22*b5948fc6SIan Rogers        "UMask": "0x2"
236e82bdaeSAndi Kleen    },
246e82bdaeSAndi Kleen    {
256e82bdaeSAndi Kleen        "BriefDescription": "Cycles when PMH is busy with page walks.",
266e82bdaeSAndi Kleen        "EventCode": "0x08",
27*b5948fc6SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_DURATION",
28*b5948fc6SIan Rogers        "PublicDescription": "This event counts cycles when the  page miss handler (PMH) is servicing page walks caused by DTLB load misses.",
29*b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
30*b5948fc6SIan Rogers        "UMask": "0x4"
316e82bdaeSAndi Kleen    },
326e82bdaeSAndi Kleen    {
33*b5948fc6SIan Rogers        "BriefDescription": "Store misses in all DTLB levels that cause page walks.",
34*b5948fc6SIan Rogers        "EventCode": "0x49",
356e82bdaeSAndi Kleen        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
366e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
37*b5948fc6SIan Rogers        "UMask": "0x1"
386e82bdaeSAndi Kleen    },
396e82bdaeSAndi Kleen    {
40*b5948fc6SIan Rogers        "BriefDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
416e82bdaeSAndi Kleen        "EventCode": "0x49",
426e82bdaeSAndi Kleen        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
436e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
44*b5948fc6SIan Rogers        "UMask": "0x10"
456e82bdaeSAndi Kleen    },
466e82bdaeSAndi Kleen    {
47*b5948fc6SIan Rogers        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
48*b5948fc6SIan Rogers        "EventCode": "0x49",
49*b5948fc6SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
50*b5948fc6SIan Rogers        "SampleAfterValue": "100003",
51*b5948fc6SIan Rogers        "UMask": "0x2"
52*b5948fc6SIan Rogers    },
53*b5948fc6SIan Rogers    {
54*b5948fc6SIan Rogers        "BriefDescription": "Cycles when PMH is busy with page walks.",
55*b5948fc6SIan Rogers        "EventCode": "0x49",
56*b5948fc6SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_DURATION",
57*b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
58*b5948fc6SIan Rogers        "UMask": "0x4"
59*b5948fc6SIan Rogers    },
60*b5948fc6SIan Rogers    {
61*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.",
62*b5948fc6SIan Rogers        "EventCode": "0x4F",
6359da390eSAndi Kleen        "EventName": "EPT.WALK_CYCLES",
6459da390eSAndi Kleen        "SampleAfterValue": "2000003",
65*b5948fc6SIan Rogers        "UMask": "0x10"
6659da390eSAndi Kleen    },
6759da390eSAndi Kleen    {
68*b5948fc6SIan Rogers        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
6959da390eSAndi Kleen        "EventCode": "0xAE",
7059da390eSAndi Kleen        "EventName": "ITLB.ITLB_FLUSH",
7159da390eSAndi Kleen        "SampleAfterValue": "100007",
72*b5948fc6SIan Rogers        "UMask": "0x1"
7359da390eSAndi Kleen    },
7459da390eSAndi Kleen    {
75*b5948fc6SIan Rogers        "BriefDescription": "Misses at all ITLB levels that cause page walks.",
76*b5948fc6SIan Rogers        "EventCode": "0x85",
77*b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
78*b5948fc6SIan Rogers        "SampleAfterValue": "100003",
79*b5948fc6SIan Rogers        "UMask": "0x1"
80*b5948fc6SIan Rogers    },
81*b5948fc6SIan Rogers    {
82*b5948fc6SIan Rogers        "BriefDescription": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
83*b5948fc6SIan Rogers        "EventCode": "0x85",
84*b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.STLB_HIT",
85*b5948fc6SIan Rogers        "SampleAfterValue": "100003",
86*b5948fc6SIan Rogers        "UMask": "0x10"
87*b5948fc6SIan Rogers    },
88*b5948fc6SIan Rogers    {
89*b5948fc6SIan Rogers        "BriefDescription": "Misses in all ITLB levels that cause completed page walks.",
90*b5948fc6SIan Rogers        "EventCode": "0x85",
91*b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED",
92*b5948fc6SIan Rogers        "SampleAfterValue": "100003",
93*b5948fc6SIan Rogers        "UMask": "0x2"
94*b5948fc6SIan Rogers    },
95*b5948fc6SIan Rogers    {
96*b5948fc6SIan Rogers        "BriefDescription": "Cycles when PMH is busy with page walks.",
97*b5948fc6SIan Rogers        "EventCode": "0x85",
98*b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.WALK_DURATION",
99*b5948fc6SIan Rogers        "PublicDescription": "This event count cycles when Page Miss Handler (PMH) is servicing page walks caused by ITLB misses.",
100*b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
101*b5948fc6SIan Rogers        "UMask": "0x4"
102*b5948fc6SIan Rogers    },
103*b5948fc6SIan Rogers    {
104*b5948fc6SIan Rogers        "BriefDescription": "DTLB flush attempts of the thread-specific entries.",
105*b5948fc6SIan Rogers        "EventCode": "0xBD",
1066e82bdaeSAndi Kleen        "EventName": "TLB_FLUSH.DTLB_THREAD",
1076e82bdaeSAndi Kleen        "SampleAfterValue": "100007",
108*b5948fc6SIan Rogers        "UMask": "0x1"
1096e82bdaeSAndi Kleen    },
1106e82bdaeSAndi Kleen    {
111*b5948fc6SIan Rogers        "BriefDescription": "STLB flush attempts.",
112*b5948fc6SIan Rogers        "EventCode": "0xBD",
1136e82bdaeSAndi Kleen        "EventName": "TLB_FLUSH.STLB_ANY",
1146e82bdaeSAndi Kleen        "SampleAfterValue": "100007",
115*b5948fc6SIan Rogers        "UMask": "0x20"
1166e82bdaeSAndi Kleen    }
1176e82bdaeSAndi Kleen]
118