Skip to content

Commit 99eb714

Browse files
captain5050namhyung
authored andcommitted
perf vendor events intel: Update arrowlake events from 1.13 to 1.14
The updated events were published in: intel/perfmon@588dd77 Signed-off-by: Ian Rogers <irogers@google.com> Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 parent c914d68 commit 99eb714

8 files changed

Lines changed: 1111 additions & 19 deletions

File tree

tools/perf/pmu-events/arch/x86/arrowlake/cache.json

Lines changed: 319 additions & 18 deletions
Large diffs are not rendered by default.

tools/perf/pmu-events/arch/x86/arrowlake/floating-point.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
[
2+
{
3+
"BriefDescription": "Counts the number of cycles when any of the floating point dividers are active.",
4+
"Counter": "0,1,2,3,4,5,6,7",
5+
"CounterMask": "1",
6+
"EventCode": "0xcd",
7+
"EventName": "ARITH.FPDIV_ACTIVE",
8+
"SampleAfterValue": "1000003",
9+
"UMask": "0x2",
10+
"Unit": "cpu_atom"
11+
},
212
{
313
"BriefDescription": "Cycles when floating-point divide unit is busy executing divide or square root operations.",
414
"Counter": "0,1,2,3,4,5,6,7,8,9",
@@ -20,6 +30,24 @@
2030
"UMask": "0x2",
2131
"Unit": "cpu_lowpower"
2232
},
33+
{
34+
"BriefDescription": "Counts the number of active floating point dividers per cycle in the loop stage.",
35+
"Counter": "0,1,2,3,4,5,6,7",
36+
"EventCode": "0xcd",
37+
"EventName": "ARITH.FPDIV_OCCUPANCY",
38+
"SampleAfterValue": "1000003",
39+
"UMask": "0x2",
40+
"Unit": "cpu_atom"
41+
},
42+
{
43+
"BriefDescription": "Counts the number of floating point divider uops executed per cycle.",
44+
"Counter": "0,1,2,3,4,5,6,7",
45+
"EventCode": "0xcd",
46+
"EventName": "ARITH.FPDIV_UOPS",
47+
"SampleAfterValue": "1000003",
48+
"UMask": "0x8",
49+
"Unit": "cpu_atom"
50+
},
2351
{
2452
"BriefDescription": "Counts all microcode FP assists.",
2553
"Counter": "0,1,2,3,4,5,6,7,8,9",
@@ -473,6 +501,51 @@
473501
"UMask": "0x3f",
474502
"Unit": "cpu_atom"
475503
},
504+
{
505+
"BriefDescription": "Counts the number of uops executed on all floating point ports.",
506+
"Counter": "0,1,2,3,4,5,6,7",
507+
"EventCode": "0xb2",
508+
"EventName": "FP_VINT_UOPS_EXECUTED.ALL",
509+
"SampleAfterValue": "1000003",
510+
"UMask": "0x1f",
511+
"Unit": "cpu_atom"
512+
},
513+
{
514+
"BriefDescription": "Counts the number of uops executed on floating point and vector integer port 0.",
515+
"Counter": "0,1,2,3,4,5,6,7",
516+
"EventCode": "0xb2",
517+
"EventName": "FP_VINT_UOPS_EXECUTED.P0",
518+
"SampleAfterValue": "1000003",
519+
"UMask": "0x2",
520+
"Unit": "cpu_atom"
521+
},
522+
{
523+
"BriefDescription": "Counts the number of uops executed on floating point and vector integer port 1.",
524+
"Counter": "0,1,2,3,4,5,6,7",
525+
"EventCode": "0xb2",
526+
"EventName": "FP_VINT_UOPS_EXECUTED.P1",
527+
"SampleAfterValue": "1000003",
528+
"UMask": "0x4",
529+
"Unit": "cpu_atom"
530+
},
531+
{
532+
"BriefDescription": "Counts the number of uops executed on floating point and vector integer port 2.",
533+
"Counter": "0,1,2,3,4,5,6,7",
534+
"EventCode": "0xb2",
535+
"EventName": "FP_VINT_UOPS_EXECUTED.P2",
536+
"SampleAfterValue": "1000003",
537+
"UMask": "0x8",
538+
"Unit": "cpu_atom"
539+
},
540+
{
541+
"BriefDescription": "Counts the number of uops executed on floating point and vector integer port 3.",
542+
"Counter": "0,1,2,3,4,5,6,7",
543+
"EventCode": "0xb2",
544+
"EventName": "FP_VINT_UOPS_EXECUTED.P3",
545+
"SampleAfterValue": "1000003",
546+
"UMask": "0x10",
547+
"Unit": "cpu_atom"
548+
},
476549
{
477550
"BriefDescription": "Counts the number of uops executed on floating point and vector integer port 0, 1, 2, 3.",
478551
"Counter": "0,1,2,3,4,5,6,7",

tools/perf/pmu-events/arch/x86/arrowlake/frontend.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,42 @@
2929
"UMask": "0x1",
3030
"Unit": "cpu_lowpower"
3131
},
32+
{
33+
"BriefDescription": "Counts the number of BACLEARS due to a conditional jump.",
34+
"Counter": "0,1,2,3,4,5,6,7",
35+
"EventCode": "0xe6",
36+
"EventName": "BACLEARS.COND",
37+
"SampleAfterValue": "200003",
38+
"UMask": "0x10",
39+
"Unit": "cpu_atom"
40+
},
41+
{
42+
"BriefDescription": "Counts the number of BACLEARS due to an indirect branch.",
43+
"Counter": "0,1,2,3,4,5,6,7",
44+
"EventCode": "0xe6",
45+
"EventName": "BACLEARS.INDIRECT",
46+
"SampleAfterValue": "200003",
47+
"UMask": "0x2",
48+
"Unit": "cpu_atom"
49+
},
50+
{
51+
"BriefDescription": "Counts the number of BACLEARS due to a return branch.",
52+
"Counter": "0,1,2,3,4,5,6,7",
53+
"EventCode": "0xe6",
54+
"EventName": "BACLEARS.RETURN",
55+
"SampleAfterValue": "200003",
56+
"UMask": "0x8",
57+
"Unit": "cpu_atom"
58+
},
59+
{
60+
"BriefDescription": "Counts the number of BACLEARS due to a direct, unconditional jump.",
61+
"Counter": "0,1,2,3,4,5,6,7",
62+
"EventCode": "0xe6",
63+
"EventName": "BACLEARS.UNCOND",
64+
"SampleAfterValue": "200003",
65+
"UMask": "0x4",
66+
"Unit": "cpu_atom"
67+
},
3268
{
3369
"BriefDescription": "Stalls caused by changing prefix length of the instruction.",
3470
"Counter": "0,1,2,3,4,5,6,7,8,9",
@@ -48,6 +84,15 @@
4884
"UMask": "0x2",
4985
"Unit": "cpu_core"
5086
},
87+
{
88+
"BriefDescription": "Counts the number of times a decode restriction reduces the decode throughput due to wrong instruction length prediction.",
89+
"Counter": "0,1,2,3,4,5,6,7",
90+
"EventCode": "0xe9",
91+
"EventName": "DECODE_RESTRICTION.PREDECODE_WRONG",
92+
"SampleAfterValue": "200003",
93+
"UMask": "0x1",
94+
"Unit": "cpu_atom"
95+
},
5196
{
5297
"BriefDescription": "DSB-to-MITE switch true penalty cycles.",
5398
"Counter": "0,1,2,3,4,5,6,7,8,9",
@@ -733,6 +778,15 @@
733778
"UMask": "0x1",
734779
"Unit": "cpu_core"
735780
},
781+
{
782+
"BriefDescription": "Counts the number of cycles that the micro-sequencer is busy.",
783+
"Counter": "0,1,2,3,4,5,6,7",
784+
"EventCode": "0xe7",
785+
"EventName": "MS_DECODED.MS_BUSY",
786+
"SampleAfterValue": "200003",
787+
"UMask": "0x4",
788+
"Unit": "cpu_atom"
789+
},
736790
{
737791
"BriefDescription": "Counts the number of cycles that the micro-sequencer is busy.",
738792
"Counter": "0,1,2,3,4,5,6,7",
@@ -741,5 +795,23 @@
741795
"SampleAfterValue": "1000003",
742796
"UMask": "0x4",
743797
"Unit": "cpu_lowpower"
798+
},
799+
{
800+
"BriefDescription": "Counts the number of times entered into a ucode flow in the FEC. Includes inserted flows due to front-end detected faults or assists.",
801+
"Counter": "0,1,2,3,4,5,6,7",
802+
"EventCode": "0xe7",
803+
"EventName": "MS_DECODED.MS_ENTRY",
804+
"SampleAfterValue": "200003",
805+
"UMask": "0x1",
806+
"Unit": "cpu_atom"
807+
},
808+
{
809+
"BriefDescription": "Counts the number of times nanocode flow is executed.",
810+
"Counter": "0,1,2,3,4,5,6,7",
811+
"EventCode": "0xe7",
812+
"EventName": "MS_DECODED.NANO_CODE",
813+
"SampleAfterValue": "200003",
814+
"UMask": "0x2",
815+
"Unit": "cpu_atom"
744816
}
745817
]

tools/perf/pmu-events/arch/x86/arrowlake/memory.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
[
2+
{
3+
"BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer is stalled due to any number of reasons, including an L1 miss, WCB full, pagewalk, store address block or store data block.",
4+
"Counter": "0,1,2,3,4,5,6,7",
5+
"EventCode": "0x05",
6+
"EventName": "LD_HEAD.ANY",
7+
"SampleAfterValue": "1000003",
8+
"UMask": "0x7f",
9+
"Unit": "cpu_atom"
10+
},
211
{
312
"BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer is stalled due to any number of reasons, including an L1 miss, WCB full, pagewalk, store address block or store data block, on a load that retires.",
413
"Counter": "0,1,2,3,4,5,6,7",
@@ -62,6 +71,16 @@
6271
"UMask": "0x81",
6372
"Unit": "cpu_lowpower"
6473
},
74+
{
75+
"BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer is stalled due to other block cases.",
76+
"Counter": "0,1,2,3,4,5,6,7",
77+
"EventCode": "0x05",
78+
"EventName": "LD_HEAD.OTHER",
79+
"PublicDescription": "Counts the number of cycles that the head (oldest load) of the load buffer is stalled due to other block cases such as pipeline conflicts, fences, etc.",
80+
"SampleAfterValue": "1000003",
81+
"UMask": "0x40",
82+
"Unit": "cpu_atom"
83+
},
6584
{
6685
"BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to other block cases.",
6786
"Counter": "0,1,2,3,4,5,6,7",
@@ -82,6 +101,15 @@
82101
"UMask": "0xc0",
83102
"Unit": "cpu_lowpower"
84103
},
104+
{
105+
"BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer is stalled due to a pagewalk.",
106+
"Counter": "0,1,2,3,4,5,6,7",
107+
"EventCode": "0x05",
108+
"EventName": "LD_HEAD.PGWALK",
109+
"SampleAfterValue": "1000003",
110+
"UMask": "0x20",
111+
"Unit": "cpu_atom"
112+
},
85113
{
86114
"BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to a pagewalk.",
87115
"Counter": "0,1,2,3,4,5,6,7",
@@ -100,6 +128,15 @@
100128
"UMask": "0xa0",
101129
"Unit": "cpu_lowpower"
102130
},
131+
{
132+
"BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer is stalled due to a store address match.",
133+
"Counter": "0,1,2,3,4,5,6,7",
134+
"EventCode": "0x05",
135+
"EventName": "LD_HEAD.ST_ADDR",
136+
"SampleAfterValue": "1000003",
137+
"UMask": "0x4",
138+
"Unit": "cpu_atom"
139+
},
103140
{
104141
"BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to a store address match.",
105142
"Counter": "0,1,2,3,4,5,6,7",
@@ -118,6 +155,24 @@
118155
"UMask": "0x84",
119156
"Unit": "cpu_lowpower"
120157
},
158+
{
159+
"BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer is stalled due to store data forward block.",
160+
"Counter": "0,1,2,3,4,5,6,7",
161+
"EventCode": "0x05",
162+
"EventName": "LD_HEAD.ST_DATA",
163+
"SampleAfterValue": "1000003",
164+
"UMask": "0x8",
165+
"Unit": "cpu_atom"
166+
},
167+
{
168+
"BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer is stalled due to request buffers full or lock in progress.",
169+
"Counter": "0,1,2,3,4,5,6,7",
170+
"EventCode": "0x05",
171+
"EventName": "LD_HEAD.WCB_FULL",
172+
"SampleAfterValue": "1000003",
173+
"UMask": "0x2",
174+
"Unit": "cpu_atom"
175+
},
121176
{
122177
"BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to request buffers full or lock in progress.",
123178
"Counter": "0,1,2,3,4,5,6,7",
@@ -155,6 +210,15 @@
155210
"UMask": "0x2",
156211
"Unit": "cpu_lowpower"
157212
},
213+
{
214+
"BriefDescription": "Counts the number of machine clears that flush the pipeline and restart the machine without the use of microcode.",
215+
"Counter": "0,1,2,3,4,5,6,7",
216+
"EventCode": "0xc3",
217+
"EventName": "MACHINE_CLEARS.MEMORY_ORDERING_FAST",
218+
"SampleAfterValue": "20003",
219+
"UMask": "0x82",
220+
"Unit": "cpu_atom"
221+
},
158222
{
159223
"BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 1024 cycles.",
160224
"Counter": "2,3,4,5,6,7,8,9",

0 commit comments

Comments
 (0)