perf vendor events amd: Add Zen 5 mapping

Add a regular expression in the map file so that appropriate JSON event
files are used for AMD Zen 5 processors belonging to Family 1Ah.

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ananth Narayan <ananth.narayan@amd.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Link: https://lore.kernel.org/r/862a6b683755601725f9081897a850127d085ace.1714717230.git.sandipan.das@amd.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Sandipan Das 2024-05-03 12:46:22 +05:30 committed by Arnaldo Carvalho de Melo
parent a9fe4ac7a3
commit 77a70f8075
1 changed files with 1 additions and 0 deletions

View File

@ -40,3 +40,4 @@ AuthenticAMD-23-([12][0-9A-F]|[0-9A-F]),v2,amdzen1,core
AuthenticAMD-23-[[:xdigit:]]+,v1,amdzen2,core
AuthenticAMD-25-([245][[:xdigit:]]|[[:xdigit:]]),v1,amdzen3,core
AuthenticAMD-25-[[:xdigit:]]+,v1,amdzen4,core
AuthenticAMD-26-[[:xdigit:]]+,v1,amdzen5,core

1 Family-model Version Filename EventType
40 AuthenticAMD-23-[[:xdigit:]]+ v1 amdzen2 core
41 AuthenticAMD-25-([245][[:xdigit:]]|[[:xdigit:]]) v1 amdzen3 core
42 AuthenticAMD-25-[[:xdigit:]]+ v1 amdzen4 core
43 AuthenticAMD-26-[[:xdigit:]]+ v1 amdzen5 core