xref: /linux/tools/perf/pmu-events/arch/x86/alderlake/frontend.json (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1f9900dd0SZhengjun Xing[
2f9900dd0SZhengjun Xing    {
3f9900dd0SZhengjun Xing        "BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
4*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5",
5f9900dd0SZhengjun Xing        "EventCode": "0xe6",
6f9900dd0SZhengjun Xing        "EventName": "BACLEARS.ANY",
74c12f41aSZhengjun Xing        "PublicDescription": "Counts the total number of BACLEARS, which occur when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend.  Includes BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
8f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
9f9900dd0SZhengjun Xing        "UMask": "0x1",
10f9900dd0SZhengjun Xing        "Unit": "cpu_atom"
11f9900dd0SZhengjun Xing    },
12f9900dd0SZhengjun Xing    {
13ad10c920SIan Rogers        "BriefDescription": "Clears due to Unknown Branches.",
14*17d4b192SIan Rogers        "Counter": "0,1,2,3",
15ad10c920SIan Rogers        "EventCode": "0x60",
16ad10c920SIan Rogers        "EventName": "BACLEARS.ANY",
17ad10c920SIan Rogers        "PublicDescription": "Number of times the front-end is resteered when it finds a branch instruction in a fetch line. This is called Unknown Branch which occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.",
18ad10c920SIan Rogers        "SampleAfterValue": "100003",
19ad10c920SIan Rogers        "UMask": "0x1",
20ad10c920SIan Rogers        "Unit": "cpu_core"
21ad10c920SIan Rogers    },
22ad10c920SIan Rogers    {
23f9900dd0SZhengjun Xing        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
24*17d4b192SIan Rogers        "Counter": "0,1,2,3",
25f9900dd0SZhengjun Xing        "EventCode": "0x87",
26f9900dd0SZhengjun Xing        "EventName": "DECODE.LCP",
274c12f41aSZhengjun Xing        "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk.",
28f9900dd0SZhengjun Xing        "SampleAfterValue": "500009",
29f9900dd0SZhengjun Xing        "UMask": "0x1",
30f9900dd0SZhengjun Xing        "Unit": "cpu_core"
31f9900dd0SZhengjun Xing    },
32f9900dd0SZhengjun Xing    {
33a80de066SIan Rogers        "BriefDescription": "Cycles the Microcode Sequencer is busy.",
34*17d4b192SIan Rogers        "Counter": "0,1,2,3",
35a80de066SIan Rogers        "EventCode": "0x87",
36a80de066SIan Rogers        "EventName": "DECODE.MS_BUSY",
37a80de066SIan Rogers        "SampleAfterValue": "500009",
38a80de066SIan Rogers        "UMask": "0x2",
39a80de066SIan Rogers        "Unit": "cpu_core"
40a80de066SIan Rogers    },
41a80de066SIan Rogers    {
42f9900dd0SZhengjun Xing        "BriefDescription": "DSB-to-MITE switch true penalty cycles.",
43*17d4b192SIan Rogers        "Counter": "0,1,2,3",
44f9900dd0SZhengjun Xing        "EventCode": "0x61",
45f9900dd0SZhengjun Xing        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
464c12f41aSZhengjun Xing        "PublicDescription": "Decode Stream Buffer (DSB) is a Uop-cache that holds translations of previously fetched instructions that were decoded by the legacy x86 decode pipeline (MITE). This event counts fetch penalty cycles when a transition occurs from DSB to MITE.",
47f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
48f9900dd0SZhengjun Xing        "UMask": "0x2",
49f9900dd0SZhengjun Xing        "Unit": "cpu_core"
50f9900dd0SZhengjun Xing    },
51f9900dd0SZhengjun Xing    {
52f9900dd0SZhengjun Xing        "BriefDescription": "Retired Instructions who experienced DSB miss.",
53*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
54f9900dd0SZhengjun Xing        "EventCode": "0xc6",
55f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.ANY_DSB_MISS",
56f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
57f9900dd0SZhengjun Xing        "MSRValue": "0x1",
58f9900dd0SZhengjun Xing        "PEBS": "1",
594c12f41aSZhengjun Xing        "PublicDescription": "Counts retired Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.",
60f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
61f9900dd0SZhengjun Xing        "UMask": "0x1",
62f9900dd0SZhengjun Xing        "Unit": "cpu_core"
63f9900dd0SZhengjun Xing    },
64f9900dd0SZhengjun Xing    {
65f9900dd0SZhengjun Xing        "BriefDescription": "Retired Instructions who experienced a critical DSB miss.",
66*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
67f9900dd0SZhengjun Xing        "EventCode": "0xc6",
68f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.DSB_MISS",
69f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
70f9900dd0SZhengjun Xing        "MSRValue": "0x11",
71f9900dd0SZhengjun Xing        "PEBS": "1",
724c12f41aSZhengjun Xing        "PublicDescription": "Number of retired Instructions that experienced a critical DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the DSB miss.",
73f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
74f9900dd0SZhengjun Xing        "UMask": "0x1",
75f9900dd0SZhengjun Xing        "Unit": "cpu_core"
76f9900dd0SZhengjun Xing    },
77f9900dd0SZhengjun Xing    {
78f9900dd0SZhengjun Xing        "BriefDescription": "Retired Instructions who experienced iTLB true miss.",
79*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
80f9900dd0SZhengjun Xing        "EventCode": "0xc6",
81f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.ITLB_MISS",
82f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
83f9900dd0SZhengjun Xing        "MSRValue": "0x14",
84f9900dd0SZhengjun Xing        "PEBS": "1",
854c12f41aSZhengjun Xing        "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.",
86f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
87f9900dd0SZhengjun Xing        "UMask": "0x1",
88f9900dd0SZhengjun Xing        "Unit": "cpu_core"
89f9900dd0SZhengjun Xing    },
90f9900dd0SZhengjun Xing    {
91f9900dd0SZhengjun Xing        "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.",
92*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
93f9900dd0SZhengjun Xing        "EventCode": "0xc6",
94f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.L1I_MISS",
95f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
96f9900dd0SZhengjun Xing        "MSRValue": "0x12",
97f9900dd0SZhengjun Xing        "PEBS": "1",
984c12f41aSZhengjun Xing        "PublicDescription": "Counts retired Instructions who experienced Instruction L1 Cache true miss.",
99f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
100f9900dd0SZhengjun Xing        "UMask": "0x1",
101f9900dd0SZhengjun Xing        "Unit": "cpu_core"
102f9900dd0SZhengjun Xing    },
103f9900dd0SZhengjun Xing    {
104f9900dd0SZhengjun Xing        "BriefDescription": "Retired Instructions who experienced Instruction L2 Cache true miss.",
105*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
106f9900dd0SZhengjun Xing        "EventCode": "0xc6",
107f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.L2_MISS",
108f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
109f9900dd0SZhengjun Xing        "MSRValue": "0x13",
110f9900dd0SZhengjun Xing        "PEBS": "1",
1114c12f41aSZhengjun Xing        "PublicDescription": "Counts retired Instructions who experienced Instruction L2 Cache true miss.",
112f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
113f9900dd0SZhengjun Xing        "UMask": "0x1",
114f9900dd0SZhengjun Xing        "Unit": "cpu_core"
115f9900dd0SZhengjun Xing    },
116f9900dd0SZhengjun Xing    {
117f9900dd0SZhengjun Xing        "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle",
118*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
119f9900dd0SZhengjun Xing        "EventCode": "0xc6",
120f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.LATENCY_GE_1",
121f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
122f9900dd0SZhengjun Xing        "MSRValue": "0x600106",
123f9900dd0SZhengjun Xing        "PEBS": "1",
1244c12f41aSZhengjun Xing        "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 1 cycle which was not interrupted by a back-end stall.",
125f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
126f9900dd0SZhengjun Xing        "UMask": "0x1",
127f9900dd0SZhengjun Xing        "Unit": "cpu_core"
128f9900dd0SZhengjun Xing    },
129f9900dd0SZhengjun Xing    {
130f9900dd0SZhengjun Xing        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.",
131*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
132f9900dd0SZhengjun Xing        "EventCode": "0xc6",
133f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.LATENCY_GE_128",
134f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
135f9900dd0SZhengjun Xing        "MSRValue": "0x608006",
136f9900dd0SZhengjun Xing        "PEBS": "1",
1374c12f41aSZhengjun Xing        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.",
138f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
139f9900dd0SZhengjun Xing        "UMask": "0x1",
140f9900dd0SZhengjun Xing        "Unit": "cpu_core"
141f9900dd0SZhengjun Xing    },
142f9900dd0SZhengjun Xing    {
143f9900dd0SZhengjun Xing        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 16 cycles which was not interrupted by a back-end stall.",
144*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
145f9900dd0SZhengjun Xing        "EventCode": "0xc6",
146f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.LATENCY_GE_16",
147f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
148f9900dd0SZhengjun Xing        "MSRValue": "0x601006",
149f9900dd0SZhengjun Xing        "PEBS": "1",
1504c12f41aSZhengjun Xing        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 16 cycles. During this period the front-end delivered no uops.",
151f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
152f9900dd0SZhengjun Xing        "UMask": "0x1",
153f9900dd0SZhengjun Xing        "Unit": "cpu_core"
154f9900dd0SZhengjun Xing    },
155f9900dd0SZhengjun Xing    {
156f9900dd0SZhengjun Xing        "BriefDescription": "Retired instructions after front-end starvation of at least 2 cycles",
157*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
158f9900dd0SZhengjun Xing        "EventCode": "0xc6",
159f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2",
160f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
161f9900dd0SZhengjun Xing        "MSRValue": "0x600206",
162f9900dd0SZhengjun Xing        "PEBS": "1",
1634c12f41aSZhengjun Xing        "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 2 cycles which was not interrupted by a back-end stall.",
164f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
165f9900dd0SZhengjun Xing        "UMask": "0x1",
166f9900dd0SZhengjun Xing        "Unit": "cpu_core"
167f9900dd0SZhengjun Xing    },
168f9900dd0SZhengjun Xing    {
169f9900dd0SZhengjun Xing        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 256 cycles which was not interrupted by a back-end stall.",
170*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
171f9900dd0SZhengjun Xing        "EventCode": "0xc6",
172f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.LATENCY_GE_256",
173f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
174f9900dd0SZhengjun Xing        "MSRValue": "0x610006",
175f9900dd0SZhengjun Xing        "PEBS": "1",
1764c12f41aSZhengjun Xing        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 256 cycles which was not interrupted by a back-end stall.",
177f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
178f9900dd0SZhengjun Xing        "UMask": "0x1",
179f9900dd0SZhengjun Xing        "Unit": "cpu_core"
180f9900dd0SZhengjun Xing    },
181f9900dd0SZhengjun Xing    {
182f9900dd0SZhengjun Xing        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end had at least 1 bubble-slot for a period of 2 cycles which was not interrupted by a back-end stall.",
183*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
184f9900dd0SZhengjun Xing        "EventCode": "0xc6",
185f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1",
186f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
187f9900dd0SZhengjun Xing        "MSRValue": "0x100206",
188f9900dd0SZhengjun Xing        "PEBS": "1",
1894c12f41aSZhengjun Xing        "PublicDescription": "Counts retired instructions that are delivered to the back-end after the front-end had at least 1 bubble-slot for a period of 2 cycles. A bubble-slot is an empty issue-pipeline slot while there was no RAT stall.",
190f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
191f9900dd0SZhengjun Xing        "UMask": "0x1",
192f9900dd0SZhengjun Xing        "Unit": "cpu_core"
193f9900dd0SZhengjun Xing    },
194f9900dd0SZhengjun Xing    {
195f9900dd0SZhengjun Xing        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 32 cycles which was not interrupted by a back-end stall.",
196*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
197f9900dd0SZhengjun Xing        "EventCode": "0xc6",
198f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.LATENCY_GE_32",
199f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
200f9900dd0SZhengjun Xing        "MSRValue": "0x602006",
201f9900dd0SZhengjun Xing        "PEBS": "1",
2024c12f41aSZhengjun Xing        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 32 cycles. During this period the front-end delivered no uops.",
203f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
204f9900dd0SZhengjun Xing        "UMask": "0x1",
205f9900dd0SZhengjun Xing        "Unit": "cpu_core"
206f9900dd0SZhengjun Xing    },
207f9900dd0SZhengjun Xing    {
208f9900dd0SZhengjun Xing        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 4 cycles which was not interrupted by a back-end stall.",
209*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
210f9900dd0SZhengjun Xing        "EventCode": "0xc6",
211f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.LATENCY_GE_4",
212f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
213f9900dd0SZhengjun Xing        "MSRValue": "0x600406",
214f9900dd0SZhengjun Xing        "PEBS": "1",
2154c12f41aSZhengjun Xing        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 4 cycles which was not interrupted by a back-end stall.",
216f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
217f9900dd0SZhengjun Xing        "UMask": "0x1",
218f9900dd0SZhengjun Xing        "Unit": "cpu_core"
219f9900dd0SZhengjun Xing    },
220f9900dd0SZhengjun Xing    {
221f9900dd0SZhengjun Xing        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 512 cycles which was not interrupted by a back-end stall.",
222*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
223f9900dd0SZhengjun Xing        "EventCode": "0xc6",
224f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.LATENCY_GE_512",
225f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
226f9900dd0SZhengjun Xing        "MSRValue": "0x620006",
227f9900dd0SZhengjun Xing        "PEBS": "1",
2284c12f41aSZhengjun Xing        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 512 cycles which was not interrupted by a back-end stall.",
229f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
230f9900dd0SZhengjun Xing        "UMask": "0x1",
231f9900dd0SZhengjun Xing        "Unit": "cpu_core"
232f9900dd0SZhengjun Xing    },
233f9900dd0SZhengjun Xing    {
234f9900dd0SZhengjun Xing        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 64 cycles which was not interrupted by a back-end stall.",
235*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
236f9900dd0SZhengjun Xing        "EventCode": "0xc6",
237f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.LATENCY_GE_64",
238f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
239f9900dd0SZhengjun Xing        "MSRValue": "0x604006",
240f9900dd0SZhengjun Xing        "PEBS": "1",
2414c12f41aSZhengjun Xing        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 64 cycles which was not interrupted by a back-end stall.",
242f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
243f9900dd0SZhengjun Xing        "UMask": "0x1",
244f9900dd0SZhengjun Xing        "Unit": "cpu_core"
245f9900dd0SZhengjun Xing    },
246f9900dd0SZhengjun Xing    {
247f9900dd0SZhengjun Xing        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 8 cycles which was not interrupted by a back-end stall.",
248*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
249f9900dd0SZhengjun Xing        "EventCode": "0xc6",
250f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.LATENCY_GE_8",
251f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
252f9900dd0SZhengjun Xing        "MSRValue": "0x600806",
253f9900dd0SZhengjun Xing        "PEBS": "1",
2544c12f41aSZhengjun Xing        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 8 cycles. During this period the front-end delivered no uops.",
255f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
256f9900dd0SZhengjun Xing        "UMask": "0x1",
257f9900dd0SZhengjun Xing        "Unit": "cpu_core"
258f9900dd0SZhengjun Xing    },
259f9900dd0SZhengjun Xing    {
2605fa2481cSZhengjun Xing        "BriefDescription": "FRONTEND_RETIRED.MS_FLOWS",
261*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
2625fa2481cSZhengjun Xing        "EventCode": "0xc6",
2635fa2481cSZhengjun Xing        "EventName": "FRONTEND_RETIRED.MS_FLOWS",
2645fa2481cSZhengjun Xing        "MSRIndex": "0x3F7",
2655fa2481cSZhengjun Xing        "MSRValue": "0x8",
2665fa2481cSZhengjun Xing        "PEBS": "1",
2675fa2481cSZhengjun Xing        "SampleAfterValue": "100007",
2685fa2481cSZhengjun Xing        "UMask": "0x1",
2695fa2481cSZhengjun Xing        "Unit": "cpu_core"
2705fa2481cSZhengjun Xing    },
2715fa2481cSZhengjun Xing    {
272f9900dd0SZhengjun Xing        "BriefDescription": "Retired Instructions who experienced STLB (2nd level TLB) true miss.",
273*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
274f9900dd0SZhengjun Xing        "EventCode": "0xc6",
275f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.STLB_MISS",
276f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
277f9900dd0SZhengjun Xing        "MSRValue": "0x15",
278f9900dd0SZhengjun Xing        "PEBS": "1",
2794c12f41aSZhengjun Xing        "PublicDescription": "Counts retired Instructions that experienced STLB (2nd level TLB) true miss.",
280f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
281f9900dd0SZhengjun Xing        "UMask": "0x1",
282f9900dd0SZhengjun Xing        "Unit": "cpu_core"
283f9900dd0SZhengjun Xing    },
284f9900dd0SZhengjun Xing    {
2855fa2481cSZhengjun Xing        "BriefDescription": "FRONTEND_RETIRED.UNKNOWN_BRANCH",
286*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
287f9900dd0SZhengjun Xing        "EventCode": "0xc6",
288f9900dd0SZhengjun Xing        "EventName": "FRONTEND_RETIRED.UNKNOWN_BRANCH",
289f9900dd0SZhengjun Xing        "MSRIndex": "0x3F7",
290f9900dd0SZhengjun Xing        "MSRValue": "0x17",
291f9900dd0SZhengjun Xing        "PEBS": "1",
292f9900dd0SZhengjun Xing        "SampleAfterValue": "100007",
293f9900dd0SZhengjun Xing        "UMask": "0x1",
294f9900dd0SZhengjun Xing        "Unit": "cpu_core"
295f9900dd0SZhengjun Xing    },
296f9900dd0SZhengjun Xing    {
2974c12f41aSZhengjun Xing        "BriefDescription": "Counts the number of requests to the instruction cache for one or more bytes of a cache line.",
298*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5",
2994c12f41aSZhengjun Xing        "EventCode": "0x80",
3004c12f41aSZhengjun Xing        "EventName": "ICACHE.ACCESSES",
3014c12f41aSZhengjun Xing        "PublicDescription": "Counts the total number of requests to the instruction cache.  The event only counts new cache line accesses, so that multiple back to back fetches to the exact same cache line or byte chunk count as one.  Specifically, the event counts when accesses from sequential code crosses the cache line boundary, or when a branch target is moved to a new line or to a non-sequential byte chunk of the same line.",
3024c12f41aSZhengjun Xing        "SampleAfterValue": "200003",
3034c12f41aSZhengjun Xing        "UMask": "0x3",
3044c12f41aSZhengjun Xing        "Unit": "cpu_atom"
3054c12f41aSZhengjun Xing    },
3064c12f41aSZhengjun Xing    {
3074c12f41aSZhengjun Xing        "BriefDescription": "Counts the number of instruction cache misses.",
308*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5",
3094c12f41aSZhengjun Xing        "EventCode": "0x80",
3104c12f41aSZhengjun Xing        "EventName": "ICACHE.MISSES",
3114c12f41aSZhengjun Xing        "PublicDescription": "Counts the number of missed requests to the instruction cache.  The event only counts new cache line accesses, so that multiple back to back fetches to the exact same cache line and byte chunk count as one.  Specifically, the event counts when accesses from sequential code crosses the cache line boundary, or when a branch target is moved to a new line or to a non-sequential byte chunk of the same line.",
3124c12f41aSZhengjun Xing        "SampleAfterValue": "200003",
3134c12f41aSZhengjun Xing        "UMask": "0x2",
3144c12f41aSZhengjun Xing        "Unit": "cpu_atom"
3154c12f41aSZhengjun Xing    },
3164c12f41aSZhengjun Xing    {
317f9900dd0SZhengjun Xing        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss.",
318*17d4b192SIan Rogers        "Counter": "0,1,2,3",
319f9900dd0SZhengjun Xing        "EventCode": "0x80",
320f9900dd0SZhengjun Xing        "EventName": "ICACHE_DATA.STALLS",
3214c12f41aSZhengjun Xing        "PublicDescription": "Counts cycles where a code line fetch is stalled due to an L1 instruction cache miss. The decode pipeline works at a 32 Byte granularity.",
322f9900dd0SZhengjun Xing        "SampleAfterValue": "500009",
323f9900dd0SZhengjun Xing        "UMask": "0x4",
324f9900dd0SZhengjun Xing        "Unit": "cpu_core"
325f9900dd0SZhengjun Xing    },
326f9900dd0SZhengjun Xing    {
327*17d4b192SIan Rogers        "BriefDescription": "ICACHE_DATA.STALL_PERIODS",
328*17d4b192SIan Rogers        "Counter": "0,1,2,3",
329*17d4b192SIan Rogers        "CounterMask": "1",
330*17d4b192SIan Rogers        "EdgeDetect": "1",
331*17d4b192SIan Rogers        "EventCode": "0x80",
332*17d4b192SIan Rogers        "EventName": "ICACHE_DATA.STALL_PERIODS",
333*17d4b192SIan Rogers        "SampleAfterValue": "500009",
334*17d4b192SIan Rogers        "UMask": "0x4",
335*17d4b192SIan Rogers        "Unit": "cpu_core"
336*17d4b192SIan Rogers    },
337*17d4b192SIan Rogers    {
338f9900dd0SZhengjun Xing        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
339*17d4b192SIan Rogers        "Counter": "0,1,2,3",
340f9900dd0SZhengjun Xing        "EventCode": "0x83",
341f9900dd0SZhengjun Xing        "EventName": "ICACHE_TAG.STALLS",
3424c12f41aSZhengjun Xing        "PublicDescription": "Counts cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
343f9900dd0SZhengjun Xing        "SampleAfterValue": "200003",
344f9900dd0SZhengjun Xing        "UMask": "0x4",
345f9900dd0SZhengjun Xing        "Unit": "cpu_core"
346f9900dd0SZhengjun Xing    },
347f9900dd0SZhengjun Xing    {
348f9900dd0SZhengjun Xing        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
349*17d4b192SIan Rogers        "Counter": "0,1,2,3",
350f9900dd0SZhengjun Xing        "CounterMask": "1",
351f9900dd0SZhengjun Xing        "EventCode": "0x79",
352f9900dd0SZhengjun Xing        "EventName": "IDQ.DSB_CYCLES_ANY",
3534c12f41aSZhengjun Xing        "PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.",
354f9900dd0SZhengjun Xing        "SampleAfterValue": "2000003",
355f9900dd0SZhengjun Xing        "UMask": "0x8",
356f9900dd0SZhengjun Xing        "Unit": "cpu_core"
357f9900dd0SZhengjun Xing    },
358f9900dd0SZhengjun Xing    {
359f9900dd0SZhengjun Xing        "BriefDescription": "Cycles DSB is delivering optimal number of Uops",
360*17d4b192SIan Rogers        "Counter": "0,1,2,3",
361f9900dd0SZhengjun Xing        "CounterMask": "6",
362f9900dd0SZhengjun Xing        "EventCode": "0x79",
363f9900dd0SZhengjun Xing        "EventName": "IDQ.DSB_CYCLES_OK",
364*17d4b192SIan Rogers        "PublicDescription": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Decode Queue (IDQ) from the DSB (Decode Stream Buffer) path. Count includes uops that may 'bypass' the IDQ.",
365f9900dd0SZhengjun Xing        "SampleAfterValue": "2000003",
366f9900dd0SZhengjun Xing        "UMask": "0x8",
367f9900dd0SZhengjun Xing        "Unit": "cpu_core"
368f9900dd0SZhengjun Xing    },
369f9900dd0SZhengjun Xing    {
370f9900dd0SZhengjun Xing        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
371*17d4b192SIan Rogers        "Counter": "0,1,2,3",
372f9900dd0SZhengjun Xing        "EventCode": "0x79",
373f9900dd0SZhengjun Xing        "EventName": "IDQ.DSB_UOPS",
3744c12f41aSZhengjun Xing        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.",
375f9900dd0SZhengjun Xing        "SampleAfterValue": "2000003",
376f9900dd0SZhengjun Xing        "UMask": "0x8",
377f9900dd0SZhengjun Xing        "Unit": "cpu_core"
378f9900dd0SZhengjun Xing    },
379f9900dd0SZhengjun Xing    {
380f9900dd0SZhengjun Xing        "BriefDescription": "Cycles MITE is delivering any Uop",
381*17d4b192SIan Rogers        "Counter": "0,1,2,3",
382f9900dd0SZhengjun Xing        "CounterMask": "1",
383f9900dd0SZhengjun Xing        "EventCode": "0x79",
384f9900dd0SZhengjun Xing        "EventName": "IDQ.MITE_CYCLES_ANY",
3854c12f41aSZhengjun Xing        "PublicDescription": "Counts the number of cycles uops were delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).",
386f9900dd0SZhengjun Xing        "SampleAfterValue": "2000003",
387f9900dd0SZhengjun Xing        "UMask": "0x4",
388f9900dd0SZhengjun Xing        "Unit": "cpu_core"
389f9900dd0SZhengjun Xing    },
390f9900dd0SZhengjun Xing    {
391f9900dd0SZhengjun Xing        "BriefDescription": "Cycles MITE is delivering optimal number of Uops",
392*17d4b192SIan Rogers        "Counter": "0,1,2,3",
393f9900dd0SZhengjun Xing        "CounterMask": "6",
394f9900dd0SZhengjun Xing        "EventCode": "0x79",
395f9900dd0SZhengjun Xing        "EventName": "IDQ.MITE_CYCLES_OK",
3964c12f41aSZhengjun Xing        "PublicDescription": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).",
397f9900dd0SZhengjun Xing        "SampleAfterValue": "2000003",
398f9900dd0SZhengjun Xing        "UMask": "0x4",
399f9900dd0SZhengjun Xing        "Unit": "cpu_core"
400f9900dd0SZhengjun Xing    },
401f9900dd0SZhengjun Xing    {
402f9900dd0SZhengjun Xing        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
403*17d4b192SIan Rogers        "Counter": "0,1,2,3",
404f9900dd0SZhengjun Xing        "EventCode": "0x79",
405f9900dd0SZhengjun Xing        "EventName": "IDQ.MITE_UOPS",
4064c12f41aSZhengjun Xing        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the MITE path. This also means that uops are not being delivered from the Decode Stream Buffer (DSB).",
407f9900dd0SZhengjun Xing        "SampleAfterValue": "2000003",
408f9900dd0SZhengjun Xing        "UMask": "0x4",
409f9900dd0SZhengjun Xing        "Unit": "cpu_core"
410f9900dd0SZhengjun Xing    },
411f9900dd0SZhengjun Xing    {
412f9900dd0SZhengjun Xing        "BriefDescription": "Cycles when uops are being delivered to IDQ while MS is busy",
413*17d4b192SIan Rogers        "Counter": "0,1,2,3",
414f9900dd0SZhengjun Xing        "CounterMask": "1",
415f9900dd0SZhengjun Xing        "EventCode": "0x79",
416f9900dd0SZhengjun Xing        "EventName": "IDQ.MS_CYCLES_ANY",
4174c12f41aSZhengjun Xing        "PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Uops maybe initiated by Decode Stream Buffer (DSB) or MITE.",
418f9900dd0SZhengjun Xing        "SampleAfterValue": "2000003",
419f9900dd0SZhengjun Xing        "UMask": "0x20",
420f9900dd0SZhengjun Xing        "Unit": "cpu_core"
421f9900dd0SZhengjun Xing    },
422f9900dd0SZhengjun Xing    {
423f9900dd0SZhengjun Xing        "BriefDescription": "Number of switches from DSB or MITE to the MS",
424*17d4b192SIan Rogers        "Counter": "0,1,2,3",
425f9900dd0SZhengjun Xing        "CounterMask": "1",
426f9900dd0SZhengjun Xing        "EdgeDetect": "1",
427f9900dd0SZhengjun Xing        "EventCode": "0x79",
428f9900dd0SZhengjun Xing        "EventName": "IDQ.MS_SWITCHES",
4294c12f41aSZhengjun Xing        "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
430f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
431f9900dd0SZhengjun Xing        "UMask": "0x20",
432f9900dd0SZhengjun Xing        "Unit": "cpu_core"
433f9900dd0SZhengjun Xing    },
434f9900dd0SZhengjun Xing    {
435f9900dd0SZhengjun Xing        "BriefDescription": "Uops delivered to IDQ while MS is busy",
436*17d4b192SIan Rogers        "Counter": "0,1,2,3",
437f9900dd0SZhengjun Xing        "EventCode": "0x79",
438f9900dd0SZhengjun Xing        "EventName": "IDQ.MS_UOPS",
4394c12f41aSZhengjun Xing        "PublicDescription": "Counts the total number of uops delivered by the Microcode Sequencer (MS).",
440f9900dd0SZhengjun Xing        "SampleAfterValue": "1000003",
441f9900dd0SZhengjun Xing        "UMask": "0x20",
442f9900dd0SZhengjun Xing        "Unit": "cpu_core"
443f9900dd0SZhengjun Xing    },
444f9900dd0SZhengjun Xing    {
445a28a0f67SIan Rogers        "BriefDescription": "Uops not delivered by IDQ when backend of the machine is not stalled [This event is alias to IDQ_UOPS_NOT_DELIVERED.CORE]",
446*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
447f9900dd0SZhengjun Xing        "EventCode": "0x9c",
448a28a0f67SIan Rogers        "EventName": "IDQ_BUBBLES.CORE",
449a28a0f67SIan Rogers        "PublicDescription": "Counts the number of uops not delivered to by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle. [This event is alias to IDQ_UOPS_NOT_DELIVERED.CORE]",
450f9900dd0SZhengjun Xing        "SampleAfterValue": "1000003",
451f9900dd0SZhengjun Xing        "UMask": "0x1",
452f9900dd0SZhengjun Xing        "Unit": "cpu_core"
453f9900dd0SZhengjun Xing    },
454f9900dd0SZhengjun Xing    {
455a28a0f67SIan Rogers        "BriefDescription": "Cycles when no uops are not delivered by the IDQ when backend of the machine is not stalled [This event is alias to IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE]",
456*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
457a28a0f67SIan Rogers        "CounterMask": "6",
458a28a0f67SIan Rogers        "EventCode": "0x9c",
459a28a0f67SIan Rogers        "EventName": "IDQ_BUBBLES.CYCLES_0_UOPS_DELIV.CORE",
460a28a0f67SIan Rogers        "PublicDescription": "Counts the number of cycles when no uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle. [This event is alias to IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE]",
461a28a0f67SIan Rogers        "SampleAfterValue": "1000003",
462a28a0f67SIan Rogers        "UMask": "0x1",
463a28a0f67SIan Rogers        "Unit": "cpu_core"
464a28a0f67SIan Rogers    },
465a28a0f67SIan Rogers    {
466a28a0f67SIan Rogers        "BriefDescription": "Cycles when optimal number of uops was delivered to the back-end when the back-end is not stalled [This event is alias to IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK]",
467*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
468a28a0f67SIan Rogers        "CounterMask": "1",
469a28a0f67SIan Rogers        "EventCode": "0x9c",
470a28a0f67SIan Rogers        "EventName": "IDQ_BUBBLES.CYCLES_FE_WAS_OK",
471a28a0f67SIan Rogers        "Invert": "1",
472a28a0f67SIan Rogers        "PublicDescription": "Counts the number of cycles when the optimal number of uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle. [This event is alias to IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK]",
473a28a0f67SIan Rogers        "SampleAfterValue": "1000003",
474a28a0f67SIan Rogers        "UMask": "0x1",
475a28a0f67SIan Rogers        "Unit": "cpu_core"
476a28a0f67SIan Rogers    },
477a28a0f67SIan Rogers    {
478a28a0f67SIan Rogers        "BriefDescription": "Uops not delivered by IDQ when backend of the machine is not stalled [This event is alias to IDQ_BUBBLES.CORE]",
479*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
480a28a0f67SIan Rogers        "EventCode": "0x9c",
481a28a0f67SIan Rogers        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
482a28a0f67SIan Rogers        "PublicDescription": "Counts the number of uops not delivered to by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle. [This event is alias to IDQ_BUBBLES.CORE]",
483a28a0f67SIan Rogers        "SampleAfterValue": "1000003",
484a28a0f67SIan Rogers        "UMask": "0x1",
485a28a0f67SIan Rogers        "Unit": "cpu_core"
486a28a0f67SIan Rogers    },
487a28a0f67SIan Rogers    {
488a28a0f67SIan Rogers        "BriefDescription": "Cycles when no uops are not delivered by the IDQ when backend of the machine is not stalled [This event is alias to IDQ_BUBBLES.CYCLES_0_UOPS_DELIV.CORE]",
489*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
490f9900dd0SZhengjun Xing        "CounterMask": "6",
491f9900dd0SZhengjun Xing        "EventCode": "0x9c",
492f9900dd0SZhengjun Xing        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
493a28a0f67SIan Rogers        "PublicDescription": "Counts the number of cycles when no uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle. [This event is alias to IDQ_BUBBLES.CYCLES_0_UOPS_DELIV.CORE]",
494f9900dd0SZhengjun Xing        "SampleAfterValue": "1000003",
495f9900dd0SZhengjun Xing        "UMask": "0x1",
496f9900dd0SZhengjun Xing        "Unit": "cpu_core"
497f9900dd0SZhengjun Xing    },
498f9900dd0SZhengjun Xing    {
499a28a0f67SIan Rogers        "BriefDescription": "Cycles when optimal number of uops was delivered to the back-end when the back-end is not stalled [This event is alias to IDQ_BUBBLES.CYCLES_FE_WAS_OK]",
500*17d4b192SIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
501f9900dd0SZhengjun Xing        "CounterMask": "1",
502f9900dd0SZhengjun Xing        "EventCode": "0x9c",
503f9900dd0SZhengjun Xing        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
504f9900dd0SZhengjun Xing        "Invert": "1",
505a28a0f67SIan Rogers        "PublicDescription": "Counts the number of cycles when the optimal number of uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle. [This event is alias to IDQ_BUBBLES.CYCLES_FE_WAS_OK]",
506f9900dd0SZhengjun Xing        "SampleAfterValue": "1000003",
507f9900dd0SZhengjun Xing        "UMask": "0x1",
508f9900dd0SZhengjun Xing        "Unit": "cpu_core"
509f9900dd0SZhengjun Xing    }
510f9900dd0SZhengjun Xing]
511