Commit 2252ddf4 authored by Ian Rogers's avatar Ian Rogers Committed by Namhyung Kim

perf vendor events intel: Update alderlake events to v1.24

Update alderlake events to v1.24 released in:
https://github.com/intel/perfmon/commit/e627dd8d89e2d2110f1d499608dd6f37aae37a8c

Adds aliased events, improves documentation and fix some event fields.

Event json automatically generated by:
https://github.com/intel/perfmon/blob/main/scripts/create_perf_json.pySigned-off-by: default avatarIan Rogers <irogers@google.com>
Reviewed-by: default avatarKan Liang <kan.liang@linux.intel.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Caleb Biggers <caleb.biggers@intel.com>
Cc: Edward Baker <edward.baker@intel.com>
Cc: Perry Taylor <perry.taylor@intel.com>
Cc: Samantha Alt <samantha.alt@intel.com>
Cc: Weilin Wang <weilin.wang@intel.com>
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240214011820.644458-2-irogers@google.com
parent 29d16de2
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
"Unit": "cpu_core" "Unit": "cpu_core"
}, },
{ {
"BriefDescription": "FP_ARITH_DISPATCHED.PORT_0", "BriefDescription": "FP_ARITH_DISPATCHED.PORT_0 [This event is alias to FP_ARITH_DISPATCHED.V0]",
"EventCode": "0xb3", "EventCode": "0xb3",
"EventName": "FP_ARITH_DISPATCHED.PORT_0", "EventName": "FP_ARITH_DISPATCHED.PORT_0",
"SampleAfterValue": "2000003", "SampleAfterValue": "2000003",
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"Unit": "cpu_core" "Unit": "cpu_core"
}, },
{ {
"BriefDescription": "FP_ARITH_DISPATCHED.PORT_1", "BriefDescription": "FP_ARITH_DISPATCHED.PORT_1 [This event is alias to FP_ARITH_DISPATCHED.V1]",
"EventCode": "0xb3", "EventCode": "0xb3",
"EventName": "FP_ARITH_DISPATCHED.PORT_1", "EventName": "FP_ARITH_DISPATCHED.PORT_1",
"SampleAfterValue": "2000003", "SampleAfterValue": "2000003",
...@@ -42,13 +42,37 @@ ...@@ -42,13 +42,37 @@
"Unit": "cpu_core" "Unit": "cpu_core"
}, },
{ {
"BriefDescription": "FP_ARITH_DISPATCHED.PORT_5", "BriefDescription": "FP_ARITH_DISPATCHED.PORT_5 [This event is alias to FP_ARITH_DISPATCHED.V2]",
"EventCode": "0xb3", "EventCode": "0xb3",
"EventName": "FP_ARITH_DISPATCHED.PORT_5", "EventName": "FP_ARITH_DISPATCHED.PORT_5",
"SampleAfterValue": "2000003", "SampleAfterValue": "2000003",
"UMask": "0x4", "UMask": "0x4",
"Unit": "cpu_core" "Unit": "cpu_core"
}, },
{
"BriefDescription": "FP_ARITH_DISPATCHED.V0 [This event is alias to FP_ARITH_DISPATCHED.PORT_0]",
"EventCode": "0xb3",
"EventName": "FP_ARITH_DISPATCHED.V0",
"SampleAfterValue": "2000003",
"UMask": "0x1",
"Unit": "cpu_core"
},
{
"BriefDescription": "FP_ARITH_DISPATCHED.V1 [This event is alias to FP_ARITH_DISPATCHED.PORT_1]",
"EventCode": "0xb3",
"EventName": "FP_ARITH_DISPATCHED.V1",
"SampleAfterValue": "2000003",
"UMask": "0x2",
"Unit": "cpu_core"
},
{
"BriefDescription": "FP_ARITH_DISPATCHED.V2 [This event is alias to FP_ARITH_DISPATCHED.PORT_5]",
"EventCode": "0xb3",
"EventName": "FP_ARITH_DISPATCHED.V2",
"SampleAfterValue": "2000003",
"UMask": "0x4",
"Unit": "cpu_core"
},
{ {
"BriefDescription": "Counts number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 2 computation operations, one for each element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.", "BriefDescription": "Counts number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 2 computation operations, one for each element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
"EventCode": "0xc7", "EventCode": "0xc7",
......
...@@ -39,6 +39,16 @@ ...@@ -39,6 +39,16 @@
"UMask": "0x8", "UMask": "0x8",
"Unit": "cpu_core" "Unit": "cpu_core"
}, },
{
"BriefDescription": "This event is deprecated. [This event is alias to MISC_RETIRED.LBR_INSERTS]",
"Deprecated": "1",
"EventCode": "0xe4",
"EventName": "LBR_INSERTS.ANY",
"PEBS": "1",
"SampleAfterValue": "1000003",
"UMask": "0x1",
"Unit": "cpu_atom"
},
{ {
"BriefDescription": "Counts modified writebacks from L1 cache and L2 cache that have any type of response.", "BriefDescription": "Counts modified writebacks from L1 cache and L2 cache that have any type of response.",
"EventCode": "0xB7", "EventCode": "0xB7",
......
...@@ -799,6 +799,7 @@ ...@@ -799,6 +799,7 @@
"BriefDescription": "INST_RETIRED.MACRO_FUSED", "BriefDescription": "INST_RETIRED.MACRO_FUSED",
"EventCode": "0xc0", "EventCode": "0xc0",
"EventName": "INST_RETIRED.MACRO_FUSED", "EventName": "INST_RETIRED.MACRO_FUSED",
"PEBS": "1",
"SampleAfterValue": "2000003", "SampleAfterValue": "2000003",
"UMask": "0x10", "UMask": "0x10",
"Unit": "cpu_core" "Unit": "cpu_core"
...@@ -807,6 +808,7 @@ ...@@ -807,6 +808,7 @@
"BriefDescription": "Retired NOP instructions.", "BriefDescription": "Retired NOP instructions.",
"EventCode": "0xc0", "EventCode": "0xc0",
"EventName": "INST_RETIRED.NOP", "EventName": "INST_RETIRED.NOP",
"PEBS": "1",
"PublicDescription": "Counts all retired NOP or ENDBR32/64 instructions", "PublicDescription": "Counts all retired NOP or ENDBR32/64 instructions",
"SampleAfterValue": "2000003", "SampleAfterValue": "2000003",
"UMask": "0x2", "UMask": "0x2",
...@@ -825,6 +827,7 @@ ...@@ -825,6 +827,7 @@
"BriefDescription": "Iterations of Repeat string retired instructions.", "BriefDescription": "Iterations of Repeat string retired instructions.",
"EventCode": "0xc0", "EventCode": "0xc0",
"EventName": "INST_RETIRED.REP_ITERATION", "EventName": "INST_RETIRED.REP_ITERATION",
"PEBS": "1",
"PublicDescription": "Number of iterations of Repeat (REP) string retired instructions such as MOVS, CMPS, and SCAS. Each has a byte, word, and doubleword version and string instructions can be repeated using a repetition prefix, REP, that allows their architectural execution to be repeated a number of times as specified by the RCX register. Note the number of iterations is implementation-dependent.", "PublicDescription": "Number of iterations of Repeat (REP) string retired instructions such as MOVS, CMPS, and SCAS. Each has a byte, word, and doubleword version and string instructions can be repeated using a repetition prefix, REP, that allows their architectural execution to be repeated a number of times as specified by the RCX register. Note the number of iterations is implementation-dependent.",
"SampleAfterValue": "2000003", "SampleAfterValue": "2000003",
"UMask": "0x8", "UMask": "0x8",
...@@ -1106,6 +1109,16 @@ ...@@ -1106,6 +1109,16 @@
"UMask": "0x20", "UMask": "0x20",
"Unit": "cpu_core" "Unit": "cpu_core"
}, },
{
"BriefDescription": "Counts the number of LBR entries recorded. Requires LBRs to be enabled in IA32_LBR_CTL. [This event is alias to LBR_INSERTS.ANY]",
"EventCode": "0xe4",
"EventName": "MISC_RETIRED.LBR_INSERTS",
"PEBS": "1",
"PublicDescription": "Counts the number of LBR entries recorded. Requires LBRs to be enabled in IA32_LBR_CTL. This event is PDIR on GP0 and NPEBS on all other GPs [This event is alias to LBR_INSERTS.ANY]",
"SampleAfterValue": "1000003",
"UMask": "0x1",
"Unit": "cpu_atom"
},
{ {
"BriefDescription": "Increments whenever there is an update to the LBR array.", "BriefDescription": "Increments whenever there is an update to the LBR array.",
"EventCode": "0xcc", "EventCode": "0xcc",
......
Family-model,Version,Filename,EventType Family-model,Version,Filename,EventType
GenuineIntel-6-(97|9A|B7|BA|BF),v1.23,alderlake,core GenuineIntel-6-(97|9A|B7|BA|BF),v1.24,alderlake,core
GenuineIntel-6-BE,v1.23,alderlaken,core GenuineIntel-6-BE,v1.23,alderlaken,core
GenuineIntel-6-(1C|26|27|35|36),v5,bonnell,core GenuineIntel-6-(1C|26|27|35|36),v5,bonnell,core
GenuineIntel-6-(3D|47),v28,broadwell,core GenuineIntel-6-(3D|47),v28,broadwell,core
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment