xref: /linux/tools/perf/pmu-events/arch/x86/sandybridge/virtual-memory.json (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
16e82bdaeSAndi Kleen[
26e82bdaeSAndi Kleen    {
3b5948fc6SIan Rogers        "BriefDescription": "Load misses in all DTLB levels that cause page walks.",
4*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
5b5948fc6SIan Rogers        "EventCode": "0x08",
66e82bdaeSAndi Kleen        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
76e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
8b5948fc6SIan Rogers        "UMask": "0x1"
96e82bdaeSAndi Kleen    },
106e82bdaeSAndi Kleen    {
11b5948fc6SIan Rogers        "BriefDescription": "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
12*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
13b5948fc6SIan Rogers        "EventCode": "0x08",
14b5948fc6SIan Rogers        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
15b5948fc6SIan 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.",
16b5948fc6SIan Rogers        "SampleAfterValue": "100003",
17b5948fc6SIan Rogers        "UMask": "0x10"
18b5948fc6SIan Rogers    },
19b5948fc6SIan Rogers    {
20b5948fc6SIan Rogers        "BriefDescription": "Load misses at all DTLB levels that cause completed page walks.",
21*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
22b5948fc6SIan Rogers        "EventCode": "0x08",
236e82bdaeSAndi Kleen        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
246e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
25b5948fc6SIan Rogers        "UMask": "0x2"
266e82bdaeSAndi Kleen    },
276e82bdaeSAndi Kleen    {
286e82bdaeSAndi Kleen        "BriefDescription": "Cycles when PMH is busy with page walks.",
29*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
306e82bdaeSAndi Kleen        "EventCode": "0x08",
31b5948fc6SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_DURATION",
32b5948fc6SIan Rogers        "PublicDescription": "This event counts cycles when the  page miss handler (PMH) is servicing page walks caused by DTLB load misses.",
33b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
34b5948fc6SIan Rogers        "UMask": "0x4"
356e82bdaeSAndi Kleen    },
366e82bdaeSAndi Kleen    {
37b5948fc6SIan Rogers        "BriefDescription": "Store misses in all DTLB levels that cause page walks.",
38*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
39b5948fc6SIan Rogers        "EventCode": "0x49",
406e82bdaeSAndi Kleen        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
416e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
42b5948fc6SIan Rogers        "UMask": "0x1"
436e82bdaeSAndi Kleen    },
446e82bdaeSAndi Kleen    {
45b5948fc6SIan Rogers        "BriefDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
46*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
476e82bdaeSAndi Kleen        "EventCode": "0x49",
486e82bdaeSAndi Kleen        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
496e82bdaeSAndi Kleen        "SampleAfterValue": "100003",
50b5948fc6SIan Rogers        "UMask": "0x10"
516e82bdaeSAndi Kleen    },
526e82bdaeSAndi Kleen    {
53b5948fc6SIan Rogers        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
54*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
55b5948fc6SIan Rogers        "EventCode": "0x49",
56b5948fc6SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
57b5948fc6SIan Rogers        "SampleAfterValue": "100003",
58b5948fc6SIan Rogers        "UMask": "0x2"
59b5948fc6SIan Rogers    },
60b5948fc6SIan Rogers    {
61b5948fc6SIan Rogers        "BriefDescription": "Cycles when PMH is busy with page walks.",
62*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
63b5948fc6SIan Rogers        "EventCode": "0x49",
64b5948fc6SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_DURATION",
65b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
66b5948fc6SIan Rogers        "UMask": "0x4"
67b5948fc6SIan Rogers    },
68b5948fc6SIan Rogers    {
69b5948fc6SIan 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.",
70*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
71b5948fc6SIan Rogers        "EventCode": "0x4F",
7259da390eSAndi Kleen        "EventName": "EPT.WALK_CYCLES",
7359da390eSAndi Kleen        "SampleAfterValue": "2000003",
74b5948fc6SIan Rogers        "UMask": "0x10"
7559da390eSAndi Kleen    },
7659da390eSAndi Kleen    {
77b5948fc6SIan Rogers        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
78*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
7959da390eSAndi Kleen        "EventCode": "0xAE",
8059da390eSAndi Kleen        "EventName": "ITLB.ITLB_FLUSH",
8159da390eSAndi Kleen        "SampleAfterValue": "100007",
82b5948fc6SIan Rogers        "UMask": "0x1"
8359da390eSAndi Kleen    },
8459da390eSAndi Kleen    {
85b5948fc6SIan Rogers        "BriefDescription": "Misses at all ITLB levels that cause page walks.",
86*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
87b5948fc6SIan Rogers        "EventCode": "0x85",
88b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
89b5948fc6SIan Rogers        "SampleAfterValue": "100003",
90b5948fc6SIan Rogers        "UMask": "0x1"
91b5948fc6SIan Rogers    },
92b5948fc6SIan Rogers    {
93b5948fc6SIan Rogers        "BriefDescription": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
94*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
95b5948fc6SIan Rogers        "EventCode": "0x85",
96b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.STLB_HIT",
97b5948fc6SIan Rogers        "SampleAfterValue": "100003",
98b5948fc6SIan Rogers        "UMask": "0x10"
99b5948fc6SIan Rogers    },
100b5948fc6SIan Rogers    {
101b5948fc6SIan Rogers        "BriefDescription": "Misses in all ITLB levels that cause completed page walks.",
102*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
103b5948fc6SIan Rogers        "EventCode": "0x85",
104b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED",
105b5948fc6SIan Rogers        "SampleAfterValue": "100003",
106b5948fc6SIan Rogers        "UMask": "0x2"
107b5948fc6SIan Rogers    },
108b5948fc6SIan Rogers    {
109b5948fc6SIan Rogers        "BriefDescription": "Cycles when PMH is busy with page walks.",
110*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
111b5948fc6SIan Rogers        "EventCode": "0x85",
112b5948fc6SIan Rogers        "EventName": "ITLB_MISSES.WALK_DURATION",
113b5948fc6SIan Rogers        "PublicDescription": "This event count cycles when Page Miss Handler (PMH) is servicing page walks caused by ITLB misses.",
114b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
115b5948fc6SIan Rogers        "UMask": "0x4"
116b5948fc6SIan Rogers    },
117b5948fc6SIan Rogers    {
118b5948fc6SIan Rogers        "BriefDescription": "DTLB flush attempts of the thread-specific entries.",
119*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
120b5948fc6SIan Rogers        "EventCode": "0xBD",
1216e82bdaeSAndi Kleen        "EventName": "TLB_FLUSH.DTLB_THREAD",
1226e82bdaeSAndi Kleen        "SampleAfterValue": "100007",
123b5948fc6SIan Rogers        "UMask": "0x1"
1246e82bdaeSAndi Kleen    },
1256e82bdaeSAndi Kleen    {
126b5948fc6SIan Rogers        "BriefDescription": "STLB flush attempts.",
127*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
128b5948fc6SIan Rogers        "EventCode": "0xBD",
1296e82bdaeSAndi Kleen        "EventName": "TLB_FLUSH.STLB_ANY",
1306e82bdaeSAndi Kleen        "SampleAfterValue": "100007",
131b5948fc6SIan Rogers        "UMask": "0x20"
1326e82bdaeSAndi Kleen    }
1336e82bdaeSAndi Kleen]
134