Skip to content

Commit ea3eafa

Browse files
captain5050namhyung
authored andcommitted
perf vendor events intel: Update skylake to 57
Updates were released in: intel/perfmon@1c3042c Adds the events IDQ.DSB_CYCLES_OK, IDQ.DSB_CYCLES_ANY, ICACHE_TAG.STALLS, DECODE.LCP, LSD.CYCLES_OK. Descriptions are also updated. Signed-off-by: Ian Rogers <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Eduard Zingerman <[email protected]> Cc: Sohom Datta <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Caleb Biggers <[email protected]> Cc: Edward Baker <[email protected]> Cc: Perry Taylor <[email protected]> Cc: Samantha Alt <[email protected]> Cc: Weilin Wang <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Andrii Nakryiko <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Jing Zhang <[email protected]> Cc: Kajol Jain <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Kan Liang <[email protected]> Cc: Zhengjun Xing <[email protected]> Cc: John Garry <[email protected]> Cc: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent 938e4ad commit ea3eafa

File tree

3 files changed

+52
-10
lines changed

3 files changed

+52
-10
lines changed

tools/perf/pmu-events/arch/x86/mapfile.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ GenuineIntel-6-2A,v19,sandybridge,core
2727
GenuineIntel-6-(8F|CF),v1.14,sapphirerapids,core
2828
GenuineIntel-6-AF,v1.00,sierraforest,core
2929
GenuineIntel-6-(37|4A|4C|4D|5A),v15,silvermont,core
30-
GenuineIntel-6-(4E|5E|8E|9E|A5|A6),v56,skylake,core
30+
GenuineIntel-6-(4E|5E|8E|9E|A5|A6),v57,skylake,core
3131
GenuineIntel-6-55-[01234],v1.30,skylakex,core
3232
GenuineIntel-6-86,v1.21,snowridgex,core
3333
GenuineIntel-6-8[CD],v1.12,tigerlake,core

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

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
"SampleAfterValue": "100003",
88
"UMask": "0x1"
99
},
10+
{
11+
"BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]",
12+
"EventCode": "0x87",
13+
"EventName": "DECODE.LCP",
14+
"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. [This event is alias to ILD_STALL.LCP]",
15+
"SampleAfterValue": "2000003",
16+
"UMask": "0x1"
17+
},
1018
{
1119
"BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switches",
1220
"EventCode": "0xAB",
@@ -245,27 +253,34 @@
245253
"UMask": "0x2"
246254
},
247255
{
248-
"BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
256+
"BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_TAG.STALLS]",
249257
"EventCode": "0x83",
250258
"EventName": "ICACHE_64B.IFTAG_STALL",
251259
"SampleAfterValue": "200003",
252260
"UMask": "0x4"
253261
},
254262
{
255-
"BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops",
263+
"BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_64B.IFTAG_STALL]",
264+
"EventCode": "0x83",
265+
"EventName": "ICACHE_TAG.STALLS",
266+
"SampleAfterValue": "200003",
267+
"UMask": "0x4"
268+
},
269+
{
270+
"BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops [This event is alias to IDQ.DSB_CYCLES_OK]",
256271
"CounterMask": "4",
257272
"EventCode": "0x79",
258273
"EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS",
259-
"PublicDescription": "Counts the number of cycles 4 uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Count includes uops that may 'bypass' the IDQ.",
274+
"PublicDescription": "Counts the number of cycles 4 uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Count includes uops that may 'bypass' the IDQ. [This event is alias to IDQ.DSB_CYCLES_OK]",
260275
"SampleAfterValue": "2000003",
261276
"UMask": "0x18"
262277
},
263278
{
264-
"BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
279+
"BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop [This event is alias to IDQ.DSB_CYCLES_ANY]",
265280
"CounterMask": "1",
266281
"EventCode": "0x79",
267282
"EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS",
268-
"PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Count includes uops that may 'bypass' the IDQ.",
283+
"PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Count includes uops that may 'bypass' the IDQ. [This event is alias to IDQ.DSB_CYCLES_ANY]",
269284
"SampleAfterValue": "2000003",
270285
"UMask": "0x18"
271286
},
@@ -296,6 +311,24 @@
296311
"SampleAfterValue": "2000003",
297312
"UMask": "0x8"
298313
},
314+
{
315+
"BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop [This event is alias to IDQ.ALL_DSB_CYCLES_ANY_UOPS]",
316+
"CounterMask": "1",
317+
"EventCode": "0x79",
318+
"EventName": "IDQ.DSB_CYCLES_ANY",
319+
"PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Count includes uops that may 'bypass' the IDQ. [This event is alias to IDQ.ALL_DSB_CYCLES_ANY_UOPS]",
320+
"SampleAfterValue": "2000003",
321+
"UMask": "0x18"
322+
},
323+
{
324+
"BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops [This event is alias to IDQ.ALL_DSB_CYCLES_4_UOPS]",
325+
"CounterMask": "4",
326+
"EventCode": "0x79",
327+
"EventName": "IDQ.DSB_CYCLES_OK",
328+
"PublicDescription": "Counts the number of cycles 4 uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Count includes uops that may 'bypass' the IDQ. [This event is alias to IDQ.ALL_DSB_CYCLES_4_UOPS]",
329+
"SampleAfterValue": "2000003",
330+
"UMask": "0x18"
331+
},
299332
{
300333
"BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
301334
"EventCode": "0x79",

tools/perf/pmu-events/arch/x86/skylake/pipeline.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,10 @@
352352
"UMask": "0x1"
353353
},
354354
{
355-
"BriefDescription": "Stalls caused by changing prefix length of the instruction.",
355+
"BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to DECODE.LCP]",
356356
"EventCode": "0x87",
357357
"EventName": "ILD_STALL.LCP",
358-
"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.",
358+
"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. [This event is alias to DECODE.LCP]",
359359
"SampleAfterValue": "2000003",
360360
"UMask": "0x1"
361361
},
@@ -479,11 +479,11 @@
479479
"UMask": "0x1"
480480
},
481481
{
482-
"BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
482+
"BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder. [This event is alias to LSD.CYCLES_OK]",
483483
"CounterMask": "4",
484484
"EventCode": "0xA8",
485485
"EventName": "LSD.CYCLES_4_UOPS",
486-
"PublicDescription": "Counts the cycles when 4 uops are delivered by the LSD (Loop-stream detector).",
486+
"PublicDescription": "Counts the cycles when 4 uops are delivered by the LSD (Loop-stream detector). [This event is alias to LSD.CYCLES_OK]",
487487
"SampleAfterValue": "2000003",
488488
"UMask": "0x1"
489489
},
@@ -496,6 +496,15 @@
496496
"SampleAfterValue": "2000003",
497497
"UMask": "0x1"
498498
},
499+
{
500+
"BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder. [This event is alias to LSD.CYCLES_4_UOPS]",
501+
"CounterMask": "4",
502+
"EventCode": "0xA8",
503+
"EventName": "LSD.CYCLES_OK",
504+
"PublicDescription": "Counts the cycles when 4 uops are delivered by the LSD (Loop-stream detector). [This event is alias to LSD.CYCLES_4_UOPS]",
505+
"SampleAfterValue": "2000003",
506+
"UMask": "0x1"
507+
},
499508
{
500509
"BriefDescription": "Number of Uops delivered by the LSD.",
501510
"EventCode": "0xA8",

0 commit comments

Comments
 (0)