From: Ian Rogers <irogers@google.com>
To: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
Ian Rogers <irogers@google.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Kan Liang <kan.liang@linux.intel.com>,
Zhengjun Xing <zhengjun.xing@linux.intel.com>,
linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org
Subject: [PATCH v2 2/5] perf vendor events intel: Update free running icelakex events
Date: Thu, 6 Apr 2023 17:13:19 -0700 [thread overview]
Message-ID: <20230407001322.2776268-2-irogers@google.com> (raw)
In-Reply-To: <20230407001322.2776268-1-irogers@google.com>
Fix the PMU names, event code and umask. Remove UNC_IIO_BANDWIDTH_OUT
events that aren't supported.
These updates were generated by:
https://github.com/intel/perfmon/blob/main/scripts/create_perf_json.py
with this PR:
https://github.com/intel/perfmon/pull/66
Signed-off-by: Ian Rogers <irogers@google.com>
---
.../arch/x86/icelakex/uncore-memory.json | 4 +-
.../arch/x86/icelakex/uncore-other.json | 84 ++++++-------------
2 files changed, 30 insertions(+), 58 deletions(-)
diff --git a/tools/perf/pmu-events/arch/x86/icelakex/uncore-memory.json b/tools/perf/pmu-events/arch/x86/icelakex/uncore-memory.json
index 66bb4538c6f2..814d9599474d 100644
--- a/tools/perf/pmu-events/arch/x86/icelakex/uncore-memory.json
+++ b/tools/perf/pmu-events/arch/x86/icelakex/uncore-memory.json
@@ -106,9 +106,11 @@
},
{
"BriefDescription": "Free running counter that increments for the Memory Controller",
+ "EventCode": "0xff",
"EventName": "UNC_M_CLOCKTICKS_FREERUN",
"PerPkg": "1",
- "Unit": "iMC"
+ "UMask": "0x10",
+ "Unit": "imc_free_running"
},
{
"BriefDescription": "DRAM Precharge All Commands",
diff --git a/tools/perf/pmu-events/arch/x86/icelakex/uncore-other.json b/tools/perf/pmu-events/arch/x86/icelakex/uncore-other.json
index b1d29877c141..8210e286eec1 100644
--- a/tools/perf/pmu-events/arch/x86/icelakex/uncore-other.json
+++ b/tools/perf/pmu-events/arch/x86/icelakex/uncore-other.json
@@ -9859,99 +9859,67 @@
},
{
"BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
+ "EventCode": "0xff",
"EventName": "UNC_IIO_BANDWIDTH_IN.PART0_FREERUN",
"PerPkg": "1",
- "Unit": "IIO"
+ "UMask": "0x20",
+ "Unit": "iio_free_running"
},
{
"BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
+ "EventCode": "0xff",
"EventName": "UNC_IIO_BANDWIDTH_IN.PART1_FREERUN",
"PerPkg": "1",
- "Unit": "IIO"
+ "UMask": "0x21",
+ "Unit": "iio_free_running"
},
{
"BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
+ "EventCode": "0xff",
"EventName": "UNC_IIO_BANDWIDTH_IN.PART2_FREERUN",
"PerPkg": "1",
- "Unit": "IIO"
+ "UMask": "0x22",
+ "Unit": "iio_free_running"
},
{
"BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
+ "EventCode": "0xff",
"EventName": "UNC_IIO_BANDWIDTH_IN.PART3_FREERUN",
"PerPkg": "1",
- "Unit": "IIO"
+ "UMask": "0x23",
+ "Unit": "iio_free_running"
},
{
"BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
+ "EventCode": "0xff",
"EventName": "UNC_IIO_BANDWIDTH_IN.PART4_FREERUN",
"PerPkg": "1",
- "Unit": "IIO"
+ "UMask": "0x24",
+ "Unit": "iio_free_running"
},
{
"BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
+ "EventCode": "0xff",
"EventName": "UNC_IIO_BANDWIDTH_IN.PART5_FREERUN",
"PerPkg": "1",
- "Unit": "IIO"
+ "UMask": "0x25",
+ "Unit": "iio_free_running"
},
{
"BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
+ "EventCode": "0xff",
"EventName": "UNC_IIO_BANDWIDTH_IN.PART6_FREERUN",
"PerPkg": "1",
- "Unit": "IIO"
+ "UMask": "0x26",
+ "Unit": "iio_free_running"
},
{
"BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
+ "EventCode": "0xff",
"EventName": "UNC_IIO_BANDWIDTH_IN.PART7_FREERUN",
"PerPkg": "1",
- "Unit": "IIO"
- },
- {
- "BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
- "EventName": "UNC_IIO_BANDWIDTH_OUT.PART0_FREERUN",
- "PerPkg": "1",
- "Unit": "IIO"
- },
- {
- "BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
- "EventName": "UNC_IIO_BANDWIDTH_OUT.PART1_FREERUN",
- "PerPkg": "1",
- "Unit": "IIO"
- },
- {
- "BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
- "EventName": "UNC_IIO_BANDWIDTH_OUT.PART2_FREERUN",
- "PerPkg": "1",
- "Unit": "IIO"
- },
- {
- "BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
- "EventName": "UNC_IIO_BANDWIDTH_OUT.PART3_FREERUN",
- "PerPkg": "1",
- "Unit": "IIO"
- },
- {
- "BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
- "EventName": "UNC_IIO_BANDWIDTH_OUT.PART4_FREERUN",
- "PerPkg": "1",
- "Unit": "IIO"
- },
- {
- "BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
- "EventName": "UNC_IIO_BANDWIDTH_OUT.PART5_FREERUN",
- "PerPkg": "1",
- "Unit": "IIO"
- },
- {
- "BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
- "EventName": "UNC_IIO_BANDWIDTH_OUT.PART6_FREERUN",
- "PerPkg": "1",
- "Unit": "IIO"
- },
- {
- "BriefDescription": "Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
- "EventName": "UNC_IIO_BANDWIDTH_OUT.PART7_FREERUN",
- "PerPkg": "1",
- "Unit": "IIO"
+ "UMask": "0x27",
+ "Unit": "iio_free_running"
},
{
"BriefDescription": "Clockticks of the integrated IO (IIO) traffic controller",
@@ -9963,10 +9931,12 @@
},
{
"BriefDescription": "Free running counter that increments for IIO clocktick",
+ "EventCode": "0xff",
"EventName": "UNC_IIO_CLOCKTICKS_FREERUN",
"PerPkg": "1",
"PublicDescription": "Free running counter that increments for integrated IO (IIO) traffic controller clockticks",
- "Unit": "IIO"
+ "UMask": "0x10",
+ "Unit": "iio_free_running"
},
{
"BriefDescription": "PCIe Completion Buffer Inserts : All Ports",
--
2.40.0.577.gac1e443424-goog
next prev parent reply other threads:[~2023-04-07 0:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-07 0:13 [PATCH v2 1/5] perf vendor events intel: Update free running alderlake events Ian Rogers
2023-04-07 0:13 ` Ian Rogers [this message]
2023-04-07 0:13 ` [PATCH v2 3/5] perf vendor events intel: Correct knightslanding memory topic Ian Rogers
2023-04-07 0:13 ` [PATCH v2 4/5] perf vendor events intel: Update free running snowridgex events Ian Rogers
2023-04-07 0:13 ` [PATCH v2 5/5] perf vendor events intel: Update free running tigerlake events Ian Rogers
2023-04-07 0:56 ` [PATCH v2 1/5] perf vendor events intel: Update free running alderlake events Arnaldo Carvalho de Melo
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=20230407001322.2776268-2-irogers@google.com \
--to=irogers@google.com \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=jolsa@kernel.org \
--cc=kan.liang@linux.intel.com \
--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=zhengjun.xing@linux.intel.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;
as well as URLs for NNTP newsgroup(s).