Skip to content

Commit d1309ca

Browse files
committed
perf vendor events amd: Add Zen 4 mapping
Bugzilla: https://bugzilla.redhat.com/2148295 upstream ======== commit 5fe089d Author: Sandipan Das <sandipan.das@amd.com> Date: Wed Dec 14 13:56:52 2022 +0530 description =========== 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 <sandipan.das@amd.com> Acked-by: Ian Rogers <irogers@google.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: Jirka Hladky <jhladky@redhat.com> 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/20221214082652.419965-5-sandipan.das@amd.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Michael Petlan <mpetlan@redhat.com>
1 parent b092bb4 commit d1309ca

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
@@ -31,4 +31,5 @@ GenuineIntel-6-25,v3,westmereep-sp,core
3131
GenuineIntel-6-2F,v3,westmereex,core
3232
AuthenticAMD-23-([12][0-9A-F]|[0-9A-F]),v2,amdzen1,core
3333
AuthenticAMD-23-[[:xdigit:]]+,v1,amdzen2,core
34-
AuthenticAMD-25-[[:xdigit:]]+,v1,amdzen3,core
34+
AuthenticAMD-25-([245][[:xdigit:]]|[[:xdigit:]]),v1,amdzen3,core
35+
AuthenticAMD-25-[[:xdigit:]]+,v1,amdzen4,core

0 commit comments

Comments
 (0)