From: Sandipan Das <sandipan.das@amd.com>
To: <linux-perf-users@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <acme@kernel.org>, <peterz@infradead.org>, <mingo@redhat.com>,
<mark.rutland@arm.com>, <alexander.shishkin@linux.intel.com>,
<jolsa@kernel.org>, <namhyung@kernel.org>, <eranian@google.com>,
<irogers@google.com>, <jhladky@redhat.com>,
<ravi.bangoria@amd.com>, <ananth.narayan@amd.com>,
<sandipan.das@amd.com>
Subject: [PATCH 1/4] perf vendor events amd: Add Zen 4 mapping
Date: Wed, 7 Dec 2022 11:00:04 +0530 [thread overview]
Message-ID: <20221207053007.336806-2-sandipan.das@amd.com> (raw)
In-Reply-To: <20221207053007.336806-1-sandipan.das@amd.com>
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>
---
tools/perf/pmu-events/arch/x86/mapfile.csv | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-events/arch/x86/mapfile.csv
index df47462a125f..f6a149a9cebb 100644
--- a/tools/perf/pmu-events/arch/x86/mapfile.csv
+++ b/tools/perf/pmu-events/arch/x86/mapfile.csv
@@ -32,4 +32,5 @@ GenuineIntel-6-25,v3,westmereep-sp,core
GenuineIntel-6-2F,v3,westmereex,core
AuthenticAMD-23-([12][0-9A-F]|[0-9A-F]),v2,amdzen1,core
AuthenticAMD-23-[[:xdigit:]]+,v1,amdzen2,core
-AuthenticAMD-25-[[:xdigit:]]+,v1,amdzen3,core
+AuthenticAMD-25-([245][[:xdigit:]]|[[:xdigit:]]),v1,amdzen3,core
+AuthenticAMD-25-[[:xdigit:]]+,v1,amdzen4,core
--
2.34.1
next prev parent reply other threads:[~2022-12-07 5:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-07 5:30 [PATCH 0/4] perf vendor events amd: Add Zen 4 events and metrics Sandipan Das
2022-12-07 5:30 ` Sandipan Das [this message]
2022-12-07 5:30 ` [PATCH 2/4] perf vendor events amd: Add Zen 4 core events Sandipan Das
2022-12-07 5:30 ` [PATCH 3/4] perf vendor events amd: Add Zen 4 uncore events Sandipan Das
2022-12-07 5:30 ` [PATCH 4/4] perf vendor events amd: Add Zen 4 metrics Sandipan Das
2022-12-07 6:05 ` Ian Rogers
2022-12-07 6:58 ` Sandipan Das
2022-12-07 17:35 ` Ian Rogers
2022-12-07 17:44 ` Ian Rogers
2022-12-13 9:45 ` Sandipan Das
2022-12-07 6:06 ` [PATCH 0/4] perf vendor events amd: Add Zen 4 events and metrics Ian Rogers
2022-12-07 6:53 ` Sandipan Das
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221207053007.336806-2-sandipan.das@amd.com \
--to=sandipan.das@amd.com \
--cc=acme@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=ananth.narayan@amd.com \
--cc=eranian@google.com \
--cc=irogers@google.com \
--cc=jhladky@redhat.com \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=ravi.bangoria@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®