perf vendor events: Update Intel sapphirerapids

Update to v1.04, the metrics are based on TMA 4.4 full.

Use script at:
https://github.com/intel/event-converter-for-linux-perf/blob/master/download_and_gen.py

to download and generate the latest events and metrics. Manually copy
the sapphirerapids files into perf and update mapfile.csv.

Tested on a non-sapphirerapids with 'perf test':
 10: PMU events                                                      :
 10.1: PMU event table sanity                                        : Ok
 10.2: PMU event map aliases                                         : Ok
 10.3: Parsing of PMU event table metrics                            : Ok
 10.4: Parsing of PMU event table metrics with fake PMUs             : Ok

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Caleb Biggers <caleb.biggers@intel.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.garry@huawei.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Kshipra Bopardikar <kshipra.bopardikar@intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Perry Taylor <perry.taylor@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sedat Dilek <sedat.dilek@gmail.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
Link: http://lore.kernel.org/lkml/20220727220832.2865794-23-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Ian Rogers 2022-07-27 15:08:24 -07:00 • committed by Arnaldo Carvalho de Melo
commit 34122105f9
7 changed files with 691 additions and 25 deletions

1 Family-model Version Filename EventType
20 GenuineIntel-6-1[AEF] v3 nehalemep core
21 GenuineIntel-6-2E v3 nehalemex core
22 GenuineIntel-6-2A v17 sandybridge core
23 GenuineIntel-6-8F v1.04 sapphirerapids core
24 GenuineIntel-6-[4589]E v24 skylake core
25 GenuineIntel-6-A[56] v24 skylake core
26 GenuineIntel-6-37 v13 silvermont core
32 GenuineIntel-6-55-[01234] v1 skylakex core
33 GenuineIntel-6-8[CD] v1 tigerlake core
34 GenuineIntel-6-86 v1 snowridgex core
GenuineIntel-6-8F v1 sapphirerapids core
35 AuthenticAMD-23-([12][0-9A-F]|[0-9A-F]) v2 amdzen1 core
36 AuthenticAMD-23-[[:xdigit:]]+ v1 amdzen2 core
37 AuthenticAMD-25-[[:xdigit:]]+ v1 amdzen3 core