xref: /linux/tools/perf/pmu-events/arch/x86/ivytown/virtual-memory.json (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1d910f0baSAndi Kleen[
2d910f0baSAndi Kleen    {
370d90a6aSIan Rogers        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.",
4*3235704cSIan Rogers        "Counter": "0,1,2,3",
5d910f0baSAndi Kleen        "EventCode": "0x08",
6d910f0baSAndi Kleen        "EventName": "DTLB_LOAD_MISSES.DEMAND_LD_WALK_COMPLETED",
7d910f0baSAndi Kleen        "SampleAfterValue": "100003",
870d90a6aSIan Rogers        "UMask": "0x82"
9d910f0baSAndi Kleen    },
10d910f0baSAndi Kleen    {
1170d90a6aSIan Rogers        "BriefDescription": "Demand load cycles page miss handler (PMH) is busy with this walk.",
12*3235704cSIan Rogers        "Counter": "0,1,2,3",
13d910f0baSAndi Kleen        "EventCode": "0x08",
14d910f0baSAndi Kleen        "EventName": "DTLB_LOAD_MISSES.DEMAND_LD_WALK_DURATION",
15d910f0baSAndi Kleen        "SampleAfterValue": "2000003",
1670d90a6aSIan Rogers        "UMask": "0x84"
17d910f0baSAndi Kleen    },
18d910f0baSAndi Kleen    {
1970d90a6aSIan Rogers        "BriefDescription": "Page walk for a large page completed for Demand load.",
20*3235704cSIan Rogers        "Counter": "0,1,2,3",
21d910f0baSAndi Kleen        "EventCode": "0x08",
22d910f0baSAndi Kleen        "EventName": "DTLB_LOAD_MISSES.LARGE_PAGE_WALK_COMPLETED",
23d910f0baSAndi Kleen        "SampleAfterValue": "100003",
2470d90a6aSIan Rogers        "UMask": "0x88"
25d910f0baSAndi Kleen    },
26d910f0baSAndi Kleen    {
2770d90a6aSIan Rogers        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes an page walk of any page size.",
28*3235704cSIan Rogers        "Counter": "0,1,2,3",
2970d90a6aSIan Rogers        "EventCode": "0x08",
3070d90a6aSIan Rogers        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
3170d90a6aSIan Rogers        "PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand loads.",
32d910f0baSAndi Kleen        "SampleAfterValue": "100003",
3370d90a6aSIan Rogers        "UMask": "0x81"
34d910f0baSAndi Kleen    },
35d910f0baSAndi Kleen    {
3670d90a6aSIan Rogers        "BriefDescription": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
37*3235704cSIan Rogers        "Counter": "0,1,2,3",
3870d90a6aSIan Rogers        "EventCode": "0x5F",
3970d90a6aSIan Rogers        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
4070d90a6aSIan Rogers        "PublicDescription": "Counts load operations that missed 1st level DTLB but hit the 2nd level.",
41d910f0baSAndi Kleen        "SampleAfterValue": "100003",
4270d90a6aSIan Rogers        "UMask": "0x4"
43d910f0baSAndi Kleen    },
44d910f0baSAndi Kleen    {
4570d90a6aSIan Rogers        "BriefDescription": "Demand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.",
46*3235704cSIan Rogers        "Counter": "0,1,2,3",
4770d90a6aSIan Rogers        "EventCode": "0x08",
4870d90a6aSIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
4970d90a6aSIan Rogers        "PublicDescription": "Misses in all TLB levels that caused page walk completed of any size by demand loads.",
5070d90a6aSIan Rogers        "SampleAfterValue": "100003",
5170d90a6aSIan Rogers        "UMask": "0x82"
5270d90a6aSIan Rogers    },
5370d90a6aSIan Rogers    {
5470d90a6aSIan Rogers        "BriefDescription": "Demand load cycles page miss handler (PMH) is busy with this walk.",
55*3235704cSIan Rogers        "Counter": "0,1,2,3",
5670d90a6aSIan Rogers        "EventCode": "0x08",
5770d90a6aSIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_DURATION",
5870d90a6aSIan Rogers        "PublicDescription": "Cycle PMH is busy with a walk due to demand loads.",
59d910f0baSAndi Kleen        "SampleAfterValue": "2000003",
6070d90a6aSIan Rogers        "UMask": "0x84"
61d910f0baSAndi Kleen    },
62d910f0baSAndi Kleen    {
6370d90a6aSIan Rogers        "BriefDescription": "Store misses in all DTLB levels that cause page walks",
64*3235704cSIan Rogers        "Counter": "0,1,2,3",
65d910f0baSAndi Kleen        "EventCode": "0x49",
6670d90a6aSIan Rogers        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
6770d90a6aSIan Rogers        "PublicDescription": "Miss in all TLB levels causes a page walk of any page size (4K/2M/4M/1G).",
68d910f0baSAndi Kleen        "SampleAfterValue": "100003",
6970d90a6aSIan Rogers        "UMask": "0x1"
70d910f0baSAndi Kleen    },
71d910f0baSAndi Kleen    {
7270d90a6aSIan Rogers        "BriefDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks",
73*3235704cSIan Rogers        "Counter": "0,1,2,3",
7470d90a6aSIan Rogers        "EventCode": "0x49",
7570d90a6aSIan Rogers        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
7670d90a6aSIan Rogers        "PublicDescription": "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
7770d90a6aSIan Rogers        "SampleAfterValue": "100003",
7870d90a6aSIan Rogers        "UMask": "0x10"
7970d90a6aSIan Rogers    },
8070d90a6aSIan Rogers    {
8170d90a6aSIan Rogers        "BriefDescription": "Store misses in all DTLB levels that cause completed page walks",
82*3235704cSIan Rogers        "Counter": "0,1,2,3",
8370d90a6aSIan Rogers        "EventCode": "0x49",
8470d90a6aSIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
8570d90a6aSIan Rogers        "PublicDescription": "Miss in all TLB levels causes a page walk that completes of any page size (4K/2M/4M/1G).",
8670d90a6aSIan Rogers        "SampleAfterValue": "100003",
8770d90a6aSIan Rogers        "UMask": "0x2"
8870d90a6aSIan Rogers    },
8970d90a6aSIan Rogers    {
9070d90a6aSIan Rogers        "BriefDescription": "Cycles when PMH is busy with page walks",
91*3235704cSIan Rogers        "Counter": "0,1,2,3",
9270d90a6aSIan Rogers        "EventCode": "0x49",
9370d90a6aSIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_DURATION",
9470d90a6aSIan Rogers        "PublicDescription": "Cycles PMH is busy with this walk.",
9570d90a6aSIan Rogers        "SampleAfterValue": "2000003",
9670d90a6aSIan Rogers        "UMask": "0x4"
9770d90a6aSIan Rogers    },
9870d90a6aSIan Rogers    {
9970d90a6aSIan 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.",
100*3235704cSIan Rogers        "Counter": "0,1,2,3",
10170d90a6aSIan Rogers        "EventCode": "0x4F",
102d910f0baSAndi Kleen        "EventName": "EPT.WALK_CYCLES",
103d910f0baSAndi Kleen        "SampleAfterValue": "2000003",
10470d90a6aSIan Rogers        "UMask": "0x10"
105d910f0baSAndi Kleen    },
106d910f0baSAndi Kleen    {
107d910f0baSAndi Kleen        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
108*3235704cSIan Rogers        "Counter": "0,1,2,3",
10970d90a6aSIan Rogers        "EventCode": "0xAE",
11070d90a6aSIan Rogers        "EventName": "ITLB.ITLB_FLUSH",
11170d90a6aSIan Rogers        "PublicDescription": "Counts the number of ITLB flushes, includes 4k/2M/4M pages.",
11270d90a6aSIan Rogers        "SampleAfterValue": "100007",
11370d90a6aSIan Rogers        "UMask": "0x1"
114d910f0baSAndi Kleen    },
115d910f0baSAndi Kleen    {
11670d90a6aSIan Rogers        "BriefDescription": "Completed page walks in ITLB due to STLB load misses for large pages",
117*3235704cSIan Rogers        "Counter": "0,1,2,3",
11870d90a6aSIan Rogers        "EventCode": "0x85",
11970d90a6aSIan Rogers        "EventName": "ITLB_MISSES.LARGE_PAGE_WALK_COMPLETED",
12070d90a6aSIan Rogers        "PublicDescription": "Completed page walks in ITLB due to STLB load misses for large pages.",
12170d90a6aSIan Rogers        "SampleAfterValue": "100003",
12270d90a6aSIan Rogers        "UMask": "0x80"
12370d90a6aSIan Rogers    },
12470d90a6aSIan Rogers    {
12570d90a6aSIan Rogers        "BriefDescription": "Misses at all ITLB levels that cause page walks",
126*3235704cSIan Rogers        "Counter": "0,1,2,3",
12770d90a6aSIan Rogers        "EventCode": "0x85",
12870d90a6aSIan Rogers        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
12970d90a6aSIan Rogers        "PublicDescription": "Misses in all ITLB levels that cause page walks.",
13070d90a6aSIan Rogers        "SampleAfterValue": "100003",
13170d90a6aSIan Rogers        "UMask": "0x1"
13270d90a6aSIan Rogers    },
13370d90a6aSIan Rogers    {
13470d90a6aSIan Rogers        "BriefDescription": "Operations that miss the first ITLB level but hit the second and do not cause any page walks",
135*3235704cSIan Rogers        "Counter": "0,1,2,3",
13670d90a6aSIan Rogers        "EventCode": "0x85",
13770d90a6aSIan Rogers        "EventName": "ITLB_MISSES.STLB_HIT",
13870d90a6aSIan Rogers        "PublicDescription": "Number of cache load STLB hits. No page walk.",
13970d90a6aSIan Rogers        "SampleAfterValue": "100003",
14070d90a6aSIan Rogers        "UMask": "0x10"
14170d90a6aSIan Rogers    },
14270d90a6aSIan Rogers    {
14370d90a6aSIan Rogers        "BriefDescription": "Misses in all ITLB levels that cause completed page walks",
144*3235704cSIan Rogers        "Counter": "0,1,2,3",
14570d90a6aSIan Rogers        "EventCode": "0x85",
14670d90a6aSIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED",
14770d90a6aSIan Rogers        "PublicDescription": "Misses in all ITLB levels that cause completed page walks.",
14870d90a6aSIan Rogers        "SampleAfterValue": "100003",
14970d90a6aSIan Rogers        "UMask": "0x2"
15070d90a6aSIan Rogers    },
15170d90a6aSIan Rogers    {
15270d90a6aSIan Rogers        "BriefDescription": "Cycles when PMH is busy with page walks",
153*3235704cSIan Rogers        "Counter": "0,1,2,3",
15470d90a6aSIan Rogers        "EventCode": "0x85",
15570d90a6aSIan Rogers        "EventName": "ITLB_MISSES.WALK_DURATION",
15670d90a6aSIan Rogers        "PublicDescription": "Cycle PMH is busy with a walk.",
15770d90a6aSIan Rogers        "SampleAfterValue": "2000003",
15870d90a6aSIan Rogers        "UMask": "0x4"
15970d90a6aSIan Rogers    },
16070d90a6aSIan Rogers    {
161d910f0baSAndi Kleen        "BriefDescription": "DTLB flush attempts of the thread-specific entries",
162*3235704cSIan Rogers        "Counter": "0,1,2,3",
16370d90a6aSIan Rogers        "EventCode": "0xBD",
16470d90a6aSIan Rogers        "EventName": "TLB_FLUSH.DTLB_THREAD",
16570d90a6aSIan Rogers        "PublicDescription": "DTLB flush attempts of the thread-specific entries.",
16670d90a6aSIan Rogers        "SampleAfterValue": "100007",
16770d90a6aSIan Rogers        "UMask": "0x1"
168d910f0baSAndi Kleen    },
169d910f0baSAndi Kleen    {
170d910f0baSAndi Kleen        "BriefDescription": "STLB flush attempts",
171*3235704cSIan Rogers        "Counter": "0,1,2,3",
17270d90a6aSIan Rogers        "EventCode": "0xBD",
17370d90a6aSIan Rogers        "EventName": "TLB_FLUSH.STLB_ANY",
17470d90a6aSIan Rogers        "PublicDescription": "Count number of STLB flush attempts.",
17570d90a6aSIan Rogers        "SampleAfterValue": "100007",
17670d90a6aSIan Rogers        "UMask": "0x20"
177d910f0baSAndi Kleen    }
178d910f0baSAndi Kleen]
179