Skip to content

Commit 887e845

Browse files
captain5050namhyung
authored andcommitted
perf vendor events intel: Update tigerlake to 1.13
Updates were released in: intel/perfmon@9a3cd5a Adds the events ICACHE_DATA.STALLS, ICACHE_TAG.STALLS and DECODE.LCP. Descriptions are also updated. Signed-off-by: Ian Rogers <[email protected]> Tested-by: Namhyung Kim <[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 b5d2644 commit 887e845

File tree

3 files changed

+32
-8
lines changed

3 files changed

+32
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ GenuineIntel-6-(37|4A|4C|4D|5A),v15,silvermont,core
3030
GenuineIntel-6-(4E|5E|8E|9E|A5|A6),v57,skylake,core
3131
GenuineIntel-6-55-[01234],v1.31,skylakex,core
3232
GenuineIntel-6-86,v1.21,snowridgex,core
33-
GenuineIntel-6-8[CD],v1.12,tigerlake,core
33+
GenuineIntel-6-8[CD],v1.13,tigerlake,core
3434
GenuineIntel-6-2C,v4,westmereep-dp,core
3535
GenuineIntel-6-25,v3,westmereep-sp,core
3636
GenuineIntel-6-2F,v3,westmereex,core

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

Lines changed: 28 additions & 4 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": "500009",
16+
"UMask": "0x1"
17+
},
1018
{
1119
"BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.",
1220
"CounterMask": "1",
@@ -213,10 +221,10 @@
213221
"UMask": "0x1"
214222
},
215223
{
216-
"BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss.",
224+
"BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss. [This event is alias to ICACHE_DATA.STALLS]",
217225
"EventCode": "0x80",
218226
"EventName": "ICACHE_16B.IFDATA_STALL",
219-
"PublicDescription": "Counts cycles where a code line fetch is stalled due to an L1 instruction cache miss. The legacy decode pipeline works at a 16 Byte granularity.",
227+
"PublicDescription": "Counts cycles where a code line fetch is stalled due to an L1 instruction cache miss. The legacy decode pipeline works at a 16 Byte granularity. [This event is alias to ICACHE_DATA.STALLS]",
220228
"SampleAfterValue": "500009",
221229
"UMask": "0x4"
222230
},
@@ -237,10 +245,26 @@
237245
"UMask": "0x2"
238246
},
239247
{
240-
"BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
248+
"BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_TAG.STALLS]",
241249
"EventCode": "0x83",
242250
"EventName": "ICACHE_64B.IFTAG_STALL",
243-
"PublicDescription": "Counts cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
251+
"PublicDescription": "Counts cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_TAG.STALLS]",
252+
"SampleAfterValue": "200003",
253+
"UMask": "0x4"
254+
},
255+
{
256+
"BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss. [This event is alias to ICACHE_16B.IFDATA_STALL]",
257+
"EventCode": "0x80",
258+
"EventName": "ICACHE_DATA.STALLS",
259+
"PublicDescription": "Counts cycles where a code line fetch is stalled due to an L1 instruction cache miss. The legacy decode pipeline works at a 16 Byte granularity. [This event is alias to ICACHE_16B.IFDATA_STALL]",
260+
"SampleAfterValue": "500009",
261+
"UMask": "0x4"
262+
},
263+
{
264+
"BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_64B.IFTAG_STALL]",
265+
"EventCode": "0x83",
266+
"EventName": "ICACHE_TAG.STALLS",
267+
"PublicDescription": "Counts cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_64B.IFTAG_STALL]",
244268
"SampleAfterValue": "200003",
245269
"UMask": "0x4"
246270
},

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,10 @@
335335
"UMask": "0x80"
336336
},
337337
{
338-
"BriefDescription": "Stalls caused by changing prefix length of the instruction.",
338+
"BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to DECODE.LCP]",
339339
"EventCode": "0x87",
340340
"EventName": "ILD_STALL.LCP",
341-
"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.",
341+
"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]",
342342
"SampleAfterValue": "500009",
343343
"UMask": "0x1"
344344
},
@@ -564,7 +564,7 @@
564564
"BriefDescription": "TMA slots wasted due to incorrect speculation by branch mispredictions",
565565
"EventCode": "0xa4",
566566
"EventName": "TOPDOWN.BR_MISPREDICT_SLOTS",
567-
"PublicDescription": "Number of TMA slots that were wasted due to incorrect speculation by branch mispredictions. This event estimates number of operations that were issued but not retired from the specualtive path as well as the out-of-order engine recovery past a branch misprediction.",
567+
"PublicDescription": "Number of TMA slots that were wasted due to incorrect speculation by branch mispredictions. This event estimates number of operations that were issued but not retired from the speculative path as well as the out-of-order engine recovery past a branch misprediction.",
568568
"SampleAfterValue": "10000003",
569569
"UMask": "0x8"
570570
},

0 commit comments

Comments
 (0)