-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf vendor events intel: Add core event list for Alderlake
Add JSON core events for Alderlake to perf. It is a hybrid event list for both Atom and Core. Based on JSON list v1.06: https://download.01.org/perfmon/ADL/ Signed-off-by: Zhengjun Xing <zhengjun.xing@linux.intel.com> Acked-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20220224162329.1975081-1-zhengjun.xing@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
- Loading branch information
Zhengjun Xing
authored and
Arnaldo Carvalho de Melo
committed
Mar 5, 2022
1 parent
6b34270
commit f9900dd
Showing
8 changed files
with
4,234 additions
and
0 deletions.
There are no files selected for viewing
1,140 changes: 1,140 additions & 0 deletions
1,140
tools/perf/pmu-events/arch/x86/alderlake/cache.json
Large diffs are not rendered by default.
Oops, something went wrong.
158 changes: 158 additions & 0 deletions
158
tools/perf/pmu-events/arch/x86/alderlake/floating-point.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
[ | ||
{ | ||
"BriefDescription": "Counts the number of floating point operations retired that required microcode assist.", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5", | ||
"EventCode": "0xc3", | ||
"EventName": "MACHINE_CLEARS.FP_ASSIST", | ||
"PEBScounters": "0,1,2,3,4,5", | ||
"SampleAfterValue": "20003", | ||
"UMask": "0x4", | ||
"Unit": "cpu_atom" | ||
}, | ||
{ | ||
"BriefDescription": "Counts the number of floating point divide uops retired (x87 and SSE, including x87 sqrt).", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5", | ||
"EventCode": "0xc2", | ||
"EventName": "UOPS_RETIRED.FPDIV", | ||
"PEBS": "1", | ||
"PEBScounters": "0,1,2,3,4,5", | ||
"SampleAfterValue": "2000003", | ||
"UMask": "0x8", | ||
"Unit": "cpu_atom" | ||
}, | ||
{ | ||
"BriefDescription": "TBD", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"CounterMask": "1", | ||
"EventCode": "0xb0", | ||
"EventName": "ARITH.FPDIV_ACTIVE", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"SampleAfterValue": "1000003", | ||
"UMask": "0x1", | ||
"Unit": "cpu_core" | ||
}, | ||
{ | ||
"BriefDescription": "Counts all microcode FP assists.", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"EventCode": "0xc1", | ||
"EventName": "ASSISTS.FP", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"SampleAfterValue": "100003", | ||
"UMask": "0x2", | ||
"Unit": "cpu_core" | ||
}, | ||
{ | ||
"BriefDescription": "TBD", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"EventCode": "0xc1", | ||
"EventName": "ASSISTS.SSE_AVX_MIX", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"SampleAfterValue": "1000003", | ||
"UMask": "0x10", | ||
"Unit": "cpu_core" | ||
}, | ||
{ | ||
"BriefDescription": "TBD", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"EventCode": "0xb3", | ||
"EventName": "FP_ARITH_DISPATCHED.PORT_0", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"SampleAfterValue": "2000003", | ||
"UMask": "0x1", | ||
"Unit": "cpu_core" | ||
}, | ||
{ | ||
"BriefDescription": "TBD", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"EventCode": "0xb3", | ||
"EventName": "FP_ARITH_DISPATCHED.PORT_1", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"SampleAfterValue": "2000003", | ||
"UMask": "0x2", | ||
"Unit": "cpu_core" | ||
}, | ||
{ | ||
"BriefDescription": "TBD", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"EventCode": "0xb3", | ||
"EventName": "FP_ARITH_DISPATCHED.PORT_5", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"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.", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"EventCode": "0xc7", | ||
"EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"SampleAfterValue": "100003", | ||
"UMask": "0x4", | ||
"Unit": "cpu_core" | ||
}, | ||
{ | ||
"BriefDescription": "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 4 computation operations, one for each element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MUL DIV MIN MAX RCP14 RSQRT14 SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"EventCode": "0xc7", | ||
"EventName": "FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"SampleAfterValue": "100003", | ||
"UMask": "0x8", | ||
"Unit": "cpu_core" | ||
}, | ||
{ | ||
"BriefDescription": "Counts number of SSE/AVX computational 256-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 4 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 FM(N)ADD/SUB. FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"EventCode": "0xc7", | ||
"EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"SampleAfterValue": "100003", | ||
"UMask": "0x10", | ||
"Unit": "cpu_core" | ||
}, | ||
{ | ||
"BriefDescription": "Counts number of SSE/AVX computational 256-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 8 computation operations, one for each element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT RSQRT RCP DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"EventCode": "0xc7", | ||
"EventName": "FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"SampleAfterValue": "100003", | ||
"UMask": "0x20", | ||
"Unit": "cpu_core" | ||
}, | ||
{ | ||
"BriefDescription": "Counts number of SSE/AVX computational scalar double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 1 computational operation. Applies to SSE* and AVX* scalar double precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT FM(N)ADD/SUB. FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"EventCode": "0xc7", | ||
"EventName": "FP_ARITH_INST_RETIRED.SCALAR_DOUBLE", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"SampleAfterValue": "100003", | ||
"UMask": "0x1", | ||
"Unit": "cpu_core" | ||
}, | ||
{ | ||
"BriefDescription": "Counts number of SSE/AVX computational scalar single precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 1 computational operation. Applies to SSE* and AVX* scalar single precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT RCP FM(N)ADD/SUB. FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.", | ||
"CollectPEBSRecord": "2", | ||
"Counter": "0,1,2,3,4,5,6,7", | ||
"EventCode": "0xc7", | ||
"EventName": "FP_ARITH_INST_RETIRED.SCALAR_SINGLE", | ||
"PEBScounters": "0,1,2,3,4,5,6,7", | ||
"SampleAfterValue": "100003", | ||
"UMask": "0x2", | ||
"Unit": "cpu_core" | ||
} | ||
] |
Oops, something went wrong.