Skip to content

Commit 5fe089d

Browse files
sandip4nacmel
authored andcommitted
perf vendor events amd: Add Zen 4 mapping
Add a regular expression in the map file so that appropriate JSON event files are used for AMD Zen 4 processors. Restrict the regular expression for AMD Zen 3 processors to known model ranges since they also belong to Family 19h. Signed-off-by: Sandipan Das <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ananth Narayan <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Jirka Hladky <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ravi Bangoria <[email protected]> Cc: Stephane Eranian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent aba4cb3 commit 5fe089d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ GenuineIntel-6-25,v3,westmereep-sp,core
3232
GenuineIntel-6-2F,v3,westmereex,core
3333
AuthenticAMD-23-([12][0-9A-F]|[0-9A-F]),v2,amdzen1,core
3434
AuthenticAMD-23-[[:xdigit:]]+,v1,amdzen2,core
35-
AuthenticAMD-25-[[:xdigit:]]+,v1,amdzen3,core
35+
AuthenticAMD-25-([245][[:xdigit:]]|[[:xdigit:]]),v1,amdzen3,core
36+
AuthenticAMD-25-[[:xdigit:]]+,v1,amdzen4,core

0 commit comments

Comments
 (0)