xref: /linux/tools/perf/pmu-events/arch/x86/grandridge/virtual-memory.json (revision 71dfa617ea9f18e4585fe78364217cd32b1fc382)
1[
2    {
3        "BriefDescription": "Counts the number of first level TLB misses but second level hits due to a demand load that did not start a page walk. Accounts for all page sizes. Will result in a DTLB write from STLB.",
4        "EventCode": "0x08",
5        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
6        "SampleAfterValue": "200003",
7        "UMask": "0x20"
8    },
9    {
10        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses.",
11        "EventCode": "0x08",
12        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
13        "SampleAfterValue": "200003",
14        "UMask": "0xe"
15    },
16    {
17        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 2M or 4M page.",
18        "EventCode": "0x08",
19        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
20        "PublicDescription": "Counts the number of page walks completed due to loads (including SW prefetches) whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages. Includes page walks that page fault.",
21        "SampleAfterValue": "200003",
22        "UMask": "0x4"
23    },
24    {
25        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 4K page.",
26        "EventCode": "0x08",
27        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
28        "PublicDescription": "Counts the number of page walks completed due to loads (including SW prefetches) whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 4K pages. Includes page walks that page fault.",
29        "SampleAfterValue": "200003",
30        "UMask": "0x2"
31    },
32    {
33        "BriefDescription": "Counts the number of page walks outstanding for Loads (demand or SW prefetch) in PMH every cycle.",
34        "EventCode": "0x08",
35        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
36        "PublicDescription": "Counts the number of page walks outstanding for Loads (demand or SW prefetch) in PMH every cycle.  A PMH page walk is outstanding from page walk start till PMH becomes idle again (ready to serve next walk). Includes EPT-walk intervals.",
37        "SampleAfterValue": "200003",
38        "UMask": "0x10"
39    },
40    {
41        "BriefDescription": "Counts the number of first level TLB misses but second level hits due to stores that did not start a page walk. Accounts for all pages sizes. Will result in a DTLB write from STLB.",
42        "EventCode": "0x49",
43        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
44        "SampleAfterValue": "2000003",
45        "UMask": "0x20"
46    },
47    {
48        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 1G page.",
49        "EventCode": "0x49",
50        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
51        "SampleAfterValue": "2000003",
52        "UMask": "0xe"
53    },
54    {
55        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 2M or 4M page.",
56        "EventCode": "0x49",
57        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
58        "PublicDescription": "Counts the number of page walks completed due to stores whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages.  Includes page walks that page fault.",
59        "SampleAfterValue": "2000003",
60        "UMask": "0x4"
61    },
62    {
63        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 4K page.",
64        "EventCode": "0x49",
65        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
66        "PublicDescription": "Counts the number of page walks completed due to stores whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 4K pages.  Includes page walks that page fault.",
67        "SampleAfterValue": "2000003",
68        "UMask": "0x2"
69    },
70    {
71        "BriefDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for stores every cycle.",
72        "EventCode": "0x49",
73        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
74        "PublicDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for stores every cycle. A PMH page walk is outstanding from page walk start till PMH becomes idle again (ready to serve next walk). Includes EPT-walk intervals.",
75        "SampleAfterValue": "200003",
76        "UMask": "0x10"
77    },
78    {
79        "BriefDescription": "Counts the number of page walks initiated by a instruction fetch that missed the first and second level TLBs.",
80        "EventCode": "0x85",
81        "EventName": "ITLB_MISSES.MISS_CAUSED_WALK",
82        "SampleAfterValue": "1000003",
83        "UMask": "0x1"
84    },
85    {
86        "BriefDescription": "Counts the number of first level TLB misses but second level hits due to an instruction fetch that did not start a page walk. Account for all pages sizes. Will result in an ITLB write from STLB.",
87        "EventCode": "0x85",
88        "EventName": "ITLB_MISSES.STLB_HIT",
89        "SampleAfterValue": "2000003",
90        "UMask": "0x20"
91    },
92    {
93        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to any page size.",
94        "EventCode": "0x85",
95        "EventName": "ITLB_MISSES.WALK_COMPLETED",
96        "PublicDescription": "Counts the number of page walks completed due to instruction fetches whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size.  Includes page walks that page fault.",
97        "SampleAfterValue": "200003",
98        "UMask": "0xe"
99    },
100    {
101        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 2M or 4M page.",
102        "EventCode": "0x85",
103        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
104        "PublicDescription": "Counts the number of page walks completed due to instruction fetches whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages.  Includes page walks that page fault.",
105        "SampleAfterValue": "2000003",
106        "UMask": "0x4"
107    },
108    {
109        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 4K page.",
110        "EventCode": "0x85",
111        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
112        "PublicDescription": "Counts the number of page walks completed due to instruction fetches whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 4K pages.  Includes page walks that page fault.",
113        "SampleAfterValue": "2000003",
114        "UMask": "0x2"
115    },
116    {
117        "BriefDescription": "Counts the number of page walks outstanding for iside in PMH every cycle.",
118        "EventCode": "0x85",
119        "EventName": "ITLB_MISSES.WALK_PENDING",
120        "PublicDescription": "Counts the number of page walks outstanding for iside in PMH every cycle.  A PMH page walk is outstanding from page walk start till PMH becomes idle again (ready to serve next walk). Includes EPT-walk intervals.  Walks could be counted by edge detecting on this event, but would count restarted suspended walks.",
121        "SampleAfterValue": "200003",
122        "UMask": "0x10"
123    },
124    {
125        "BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to a DTLB miss.",
126        "EventCode": "0x05",
127        "EventName": "LD_HEAD.DTLB_MISS_AT_RET",
128        "SampleAfterValue": "1000003",
129        "UMask": "0x90"
130    }
131]
132