xref: /linux/tools/perf/pmu-events/arch/x86/grandridge/virtual-memory.json (revision daa2be74b1b2302004945b2a5e32424e177cc7da)
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        "Counter": "0,1,2,3,4,5,6,7",
5        "EventCode": "0x08",
6        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
7        "SampleAfterValue": "200003",
8        "UMask": "0x20"
9    },
10    {
11        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses.",
12        "Counter": "0,1,2,3,4,5,6,7",
13        "EventCode": "0x08",
14        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
15        "SampleAfterValue": "200003",
16        "UMask": "0xe"
17    },
18    {
19        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 2M or 4M page.",
20        "Counter": "0,1,2,3,4,5,6,7",
21        "EventCode": "0x08",
22        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
23        "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.",
24        "SampleAfterValue": "200003",
25        "UMask": "0x4"
26    },
27    {
28        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 4K page.",
29        "Counter": "0,1,2,3,4,5,6,7",
30        "EventCode": "0x08",
31        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
32        "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.",
33        "SampleAfterValue": "200003",
34        "UMask": "0x2"
35    },
36    {
37        "BriefDescription": "Counts the number of page walks outstanding for Loads (demand or SW prefetch) in PMH every cycle.",
38        "Counter": "0,1,2,3,4,5,6,7",
39        "EventCode": "0x08",
40        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
41        "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.",
42        "SampleAfterValue": "200003",
43        "UMask": "0x10"
44    },
45    {
46        "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.",
47        "Counter": "0,1,2,3,4,5,6,7",
48        "EventCode": "0x49",
49        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
50        "SampleAfterValue": "2000003",
51        "UMask": "0x20"
52    },
53    {
54        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 1G page.",
55        "Counter": "0,1,2,3,4,5,6,7",
56        "EventCode": "0x49",
57        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
58        "SampleAfterValue": "2000003",
59        "UMask": "0xe"
60    },
61    {
62        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 2M or 4M page.",
63        "Counter": "0,1,2,3,4,5,6,7",
64        "EventCode": "0x49",
65        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
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 2M or 4M pages.  Includes page walks that page fault.",
67        "SampleAfterValue": "2000003",
68        "UMask": "0x4"
69    },
70    {
71        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 4K page.",
72        "Counter": "0,1,2,3,4,5,6,7",
73        "EventCode": "0x49",
74        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
75        "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.",
76        "SampleAfterValue": "2000003",
77        "UMask": "0x2"
78    },
79    {
80        "BriefDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for stores every cycle.",
81        "Counter": "0,1,2,3,4,5,6,7",
82        "EventCode": "0x49",
83        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
84        "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.",
85        "SampleAfterValue": "200003",
86        "UMask": "0x10"
87    },
88    {
89        "BriefDescription": "Counts the number of page walks initiated by a instruction fetch that missed the first and second level TLBs.",
90        "Counter": "0,1,2,3,4,5,6,7",
91        "EventCode": "0x85",
92        "EventName": "ITLB_MISSES.MISS_CAUSED_WALK",
93        "SampleAfterValue": "1000003",
94        "UMask": "0x1"
95    },
96    {
97        "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.",
98        "Counter": "0,1,2,3,4,5,6,7",
99        "EventCode": "0x85",
100        "EventName": "ITLB_MISSES.STLB_HIT",
101        "SampleAfterValue": "2000003",
102        "UMask": "0x20"
103    },
104    {
105        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to any page size.",
106        "Counter": "0,1,2,3,4,5,6,7",
107        "EventCode": "0x85",
108        "EventName": "ITLB_MISSES.WALK_COMPLETED",
109        "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.",
110        "SampleAfterValue": "200003",
111        "UMask": "0xe"
112    },
113    {
114        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 2M or 4M page.",
115        "Counter": "0,1,2,3,4,5,6,7",
116        "EventCode": "0x85",
117        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
118        "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.",
119        "SampleAfterValue": "2000003",
120        "UMask": "0x4"
121    },
122    {
123        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 4K page.",
124        "Counter": "0,1,2,3,4,5,6,7",
125        "EventCode": "0x85",
126        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
127        "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.",
128        "SampleAfterValue": "2000003",
129        "UMask": "0x2"
130    },
131    {
132        "BriefDescription": "Counts the number of page walks outstanding for iside in PMH every cycle.",
133        "Counter": "0,1,2,3,4,5,6,7",
134        "EventCode": "0x85",
135        "EventName": "ITLB_MISSES.WALK_PENDING",
136        "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.",
137        "SampleAfterValue": "200003",
138        "UMask": "0x10"
139    },
140    {
141        "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.",
142        "Counter": "0,1,2,3,4,5,6,7",
143        "EventCode": "0x05",
144        "EventName": "LD_HEAD.DTLB_MISS_AT_RET",
145        "SampleAfterValue": "1000003",
146        "UMask": "0x90"
147    }
148]
149