xref: /freebsd/lib/libpmc/pmu-events/arch/x86/westmereep-dp/virtual-memory.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1959826caSMatt Macy[
2959826caSMatt Macy    {
3*18054d02SAlexander Motin        "BriefDescription": "DTLB load misses",
4959826caSMatt Macy        "Counter": "0,1,2,3",
5*18054d02SAlexander Motin        "EventCode": "0x8",
6959826caSMatt Macy        "EventName": "DTLB_LOAD_MISSES.ANY",
7959826caSMatt Macy        "SampleAfterValue": "200000",
8*18054d02SAlexander Motin        "UMask": "0x1"
9959826caSMatt Macy    },
10959826caSMatt Macy    {
11*18054d02SAlexander Motin        "BriefDescription": "DTLB load miss large page walks",
12959826caSMatt Macy        "Counter": "0,1,2,3",
13*18054d02SAlexander Motin        "EventCode": "0x8",
14959826caSMatt Macy        "EventName": "DTLB_LOAD_MISSES.LARGE_WALK_COMPLETED",
15959826caSMatt Macy        "SampleAfterValue": "200000",
16*18054d02SAlexander Motin        "UMask": "0x80"
17959826caSMatt Macy    },
18959826caSMatt Macy    {
19*18054d02SAlexander Motin        "BriefDescription": "DTLB load miss caused by low part of address",
20959826caSMatt Macy        "Counter": "0,1,2,3",
21*18054d02SAlexander Motin        "EventCode": "0x8",
22959826caSMatt Macy        "EventName": "DTLB_LOAD_MISSES.PDE_MISS",
23959826caSMatt Macy        "SampleAfterValue": "200000",
24*18054d02SAlexander Motin        "UMask": "0x20"
25959826caSMatt Macy    },
26959826caSMatt Macy    {
27*18054d02SAlexander Motin        "BriefDescription": "DTLB second level hit",
28959826caSMatt Macy        "Counter": "0,1,2,3",
29*18054d02SAlexander Motin        "EventCode": "0x8",
30959826caSMatt Macy        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
31959826caSMatt Macy        "SampleAfterValue": "2000000",
32*18054d02SAlexander Motin        "UMask": "0x10"
33959826caSMatt Macy    },
34959826caSMatt Macy    {
35*18054d02SAlexander Motin        "BriefDescription": "DTLB load miss page walks complete",
36959826caSMatt Macy        "Counter": "0,1,2,3",
37*18054d02SAlexander Motin        "EventCode": "0x8",
38959826caSMatt Macy        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
39959826caSMatt Macy        "SampleAfterValue": "200000",
40*18054d02SAlexander Motin        "UMask": "0x2"
41959826caSMatt Macy    },
42959826caSMatt Macy    {
43*18054d02SAlexander Motin        "BriefDescription": "DTLB load miss page walk cycles",
44959826caSMatt Macy        "Counter": "0,1,2,3",
45*18054d02SAlexander Motin        "EventCode": "0x8",
46959826caSMatt Macy        "EventName": "DTLB_LOAD_MISSES.WALK_CYCLES",
47959826caSMatt Macy        "SampleAfterValue": "200000",
48*18054d02SAlexander Motin        "UMask": "0x4"
49959826caSMatt Macy    },
50959826caSMatt Macy    {
51*18054d02SAlexander Motin        "BriefDescription": "DTLB misses",
52959826caSMatt Macy        "Counter": "0,1,2,3",
53*18054d02SAlexander Motin        "EventCode": "0x49",
54959826caSMatt Macy        "EventName": "DTLB_MISSES.ANY",
55959826caSMatt Macy        "SampleAfterValue": "200000",
56*18054d02SAlexander Motin        "UMask": "0x1"
57959826caSMatt Macy    },
58959826caSMatt Macy    {
59*18054d02SAlexander Motin        "BriefDescription": "DTLB miss large page walks",
60959826caSMatt Macy        "Counter": "0,1,2,3",
61*18054d02SAlexander Motin        "EventCode": "0x49",
62959826caSMatt Macy        "EventName": "DTLB_MISSES.LARGE_WALK_COMPLETED",
63959826caSMatt Macy        "SampleAfterValue": "200000",
64*18054d02SAlexander Motin        "UMask": "0x80"
65959826caSMatt Macy    },
66959826caSMatt Macy    {
67*18054d02SAlexander Motin        "BriefDescription": "DTLB misses casued by low part of address",
68959826caSMatt Macy        "Counter": "0,1,2,3",
69*18054d02SAlexander Motin        "EventCode": "0x49",
70959826caSMatt Macy        "EventName": "DTLB_MISSES.PDE_MISS",
71959826caSMatt Macy        "SampleAfterValue": "200000",
72*18054d02SAlexander Motin        "UMask": "0x20"
73959826caSMatt Macy    },
74959826caSMatt Macy    {
75*18054d02SAlexander Motin        "BriefDescription": "DTLB first level misses but second level hit",
76959826caSMatt Macy        "Counter": "0,1,2,3",
77*18054d02SAlexander Motin        "EventCode": "0x49",
78959826caSMatt Macy        "EventName": "DTLB_MISSES.STLB_HIT",
79959826caSMatt Macy        "SampleAfterValue": "200000",
80*18054d02SAlexander Motin        "UMask": "0x10"
81959826caSMatt Macy    },
82959826caSMatt Macy    {
83*18054d02SAlexander Motin        "BriefDescription": "DTLB miss page walks",
84959826caSMatt Macy        "Counter": "0,1,2,3",
85*18054d02SAlexander Motin        "EventCode": "0x49",
86959826caSMatt Macy        "EventName": "DTLB_MISSES.WALK_COMPLETED",
87959826caSMatt Macy        "SampleAfterValue": "200000",
88*18054d02SAlexander Motin        "UMask": "0x2"
89959826caSMatt Macy    },
90959826caSMatt Macy    {
91*18054d02SAlexander Motin        "BriefDescription": "DTLB miss page walk cycles",
92959826caSMatt Macy        "Counter": "0,1,2,3",
93*18054d02SAlexander Motin        "EventCode": "0x49",
94959826caSMatt Macy        "EventName": "DTLB_MISSES.WALK_CYCLES",
95959826caSMatt Macy        "SampleAfterValue": "2000000",
96*18054d02SAlexander Motin        "UMask": "0x4"
97959826caSMatt Macy    },
98959826caSMatt Macy    {
99*18054d02SAlexander Motin        "BriefDescription": "Extended Page Table walk cycles",
100959826caSMatt Macy        "Counter": "0,1,2,3",
101*18054d02SAlexander Motin        "EventCode": "0x4F",
102959826caSMatt Macy        "EventName": "EPT.WALK_CYCLES",
103959826caSMatt Macy        "SampleAfterValue": "2000000",
104*18054d02SAlexander Motin        "UMask": "0x10"
105959826caSMatt Macy    },
106959826caSMatt Macy    {
107*18054d02SAlexander Motin        "BriefDescription": "ITLB flushes",
108959826caSMatt Macy        "Counter": "0,1,2,3",
109*18054d02SAlexander Motin        "EventCode": "0xAE",
110959826caSMatt Macy        "EventName": "ITLB_FLUSH",
111959826caSMatt Macy        "SampleAfterValue": "2000000",
112*18054d02SAlexander Motin        "UMask": "0x1"
113959826caSMatt Macy    },
114959826caSMatt Macy    {
115*18054d02SAlexander Motin        "BriefDescription": "ITLB miss",
116959826caSMatt Macy        "Counter": "0,1,2,3",
117959826caSMatt Macy        "EventCode": "0x85",
118959826caSMatt Macy        "EventName": "ITLB_MISSES.ANY",
119959826caSMatt Macy        "SampleAfterValue": "200000",
120*18054d02SAlexander Motin        "UMask": "0x1"
121959826caSMatt Macy    },
122959826caSMatt Macy    {
123*18054d02SAlexander Motin        "BriefDescription": "ITLB miss large page walks",
124959826caSMatt Macy        "Counter": "0,1,2,3",
125*18054d02SAlexander Motin        "EventCode": "0x85",
126959826caSMatt Macy        "EventName": "ITLB_MISSES.LARGE_WALK_COMPLETED",
127959826caSMatt Macy        "SampleAfterValue": "200000",
128*18054d02SAlexander Motin        "UMask": "0x80"
129959826caSMatt Macy    },
130959826caSMatt Macy    {
131*18054d02SAlexander Motin        "BriefDescription": "ITLB miss page walks",
132959826caSMatt Macy        "Counter": "0,1,2,3",
133*18054d02SAlexander Motin        "EventCode": "0x85",
134959826caSMatt Macy        "EventName": "ITLB_MISSES.WALK_COMPLETED",
135959826caSMatt Macy        "SampleAfterValue": "200000",
136*18054d02SAlexander Motin        "UMask": "0x2"
137959826caSMatt Macy    },
138959826caSMatt Macy    {
139*18054d02SAlexander Motin        "BriefDescription": "ITLB miss page walk cycles",
140959826caSMatt Macy        "Counter": "0,1,2,3",
141*18054d02SAlexander Motin        "EventCode": "0x85",
142959826caSMatt Macy        "EventName": "ITLB_MISSES.WALK_CYCLES",
143959826caSMatt Macy        "SampleAfterValue": "2000000",
144*18054d02SAlexander Motin        "UMask": "0x4"
145959826caSMatt Macy    },
146959826caSMatt Macy    {
147*18054d02SAlexander Motin        "BriefDescription": "Retired instructions that missed the ITLB (Precise Event)",
148*18054d02SAlexander Motin        "Counter": "0,1,2,3",
149*18054d02SAlexander Motin        "EventCode": "0xC8",
150*18054d02SAlexander Motin        "EventName": "ITLB_MISS_RETIRED",
151959826caSMatt Macy        "PEBS": "1",
152*18054d02SAlexander Motin        "SampleAfterValue": "200000",
153*18054d02SAlexander Motin        "UMask": "0x20"
154*18054d02SAlexander Motin    },
155*18054d02SAlexander Motin    {
156*18054d02SAlexander Motin        "BriefDescription": "Retired loads that miss the DTLB (Precise Event)",
157*18054d02SAlexander Motin        "Counter": "0,1,2,3",
158959826caSMatt Macy        "EventCode": "0xCB",
159959826caSMatt Macy        "EventName": "MEM_LOAD_RETIRED.DTLB_MISS",
160*18054d02SAlexander Motin        "PEBS": "1",
161959826caSMatt Macy        "SampleAfterValue": "200000",
162*18054d02SAlexander Motin        "UMask": "0x80"
163959826caSMatt Macy    },
164959826caSMatt Macy    {
165*18054d02SAlexander Motin        "BriefDescription": "Retired stores that miss the DTLB (Precise Event)",
166959826caSMatt Macy        "Counter": "0,1,2,3",
167*18054d02SAlexander Motin        "EventCode": "0xC",
168959826caSMatt Macy        "EventName": "MEM_STORE_RETIRED.DTLB_MISS",
169*18054d02SAlexander Motin        "PEBS": "1",
170959826caSMatt Macy        "SampleAfterValue": "200000",
171*18054d02SAlexander Motin        "UMask": "0x1"
172959826caSMatt Macy    }
173959826caSMatt Macy]