[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230406184638.2632300-3-irogers@google.com>
Date: Thu, 6 Apr 2023 11:46:36 -0700
From: Ian Rogers <irogers@...gle.com>
To: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Ian Rogers <irogers@...gle.com>,
Adrian Hunter <adrian.hunter@...el.com>,
Kan Liang <kan.liang@...ux.intel.com>,
Zhengjun Xing <zhengjun.xing@...ux.intel.com>,
linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org
Subject: [PATCH v1 3/5] perf vendor events intel: Correct knightslanding
memory topic
Correct the memory topic of events for the imc related PMUs.
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@...gle.com>
---
.../x86/knightslanding/uncore-memory.json | 38 +++++++++++++++++++
.../arch/x86/knightslanding/uncore-other.json | 36 ------------------
2 files changed, 38 insertions(+), 36 deletions(-)
create mode 100644 tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json
diff --git a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json
new file mode 100644
index 000000000000..47da947b1a6e
--- /dev/null
+++ b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json
@@ -0,0 +1,38 @@
+[
+ {
+ "BriefDescription": "CAS All",
+ "EventCode": "0x03",
+ "EventName": "UNC_M_CAS_COUNT.ALL",
+ "PerPkg": "1",
+ "UMask": "0x3",
+ "Unit": "iMC_DCLK"
+ },
+ {
+ "BriefDescription": "CAS Reads",
+ "EventCode": "0x03",
+ "EventName": "UNC_M_CAS_COUNT.RD",
+ "PerPkg": "1",
+ "UMask": "0x1",
+ "Unit": "iMC_DCLK"
+ },
+ {
+ "BriefDescription": "CAS Writes",
+ "EventCode": "0x03",
+ "EventName": "UNC_M_CAS_COUNT.WR",
+ "PerPkg": "1",
+ "UMask": "0x2",
+ "Unit": "iMC_DCLK"
+ },
+ {
+ "BriefDescription": "DCLK count",
+ "EventName": "UNC_M_D_CLOCKTICKS",
+ "PerPkg": "1",
+ "Unit": "iMC_DCLK"
+ },
+ {
+ "BriefDescription": "UCLK count",
+ "EventName": "UNC_M_U_CLOCKTICKS",
+ "PerPkg": "1",
+ "Unit": "iMC_UCLK"
+ }
+]
diff --git a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-other.json b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-other.json
index 491cb37ddab0..fc85e0c95318 100644
--- a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-other.json
+++ b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-other.json
@@ -3621,41 +3621,5 @@
"PerPkg": "1",
"UMask": "0x4",
"Unit": "M2PCIe"
- },
- {
- "BriefDescription": "CAS All",
- "EventCode": "0x03",
- "EventName": "UNC_M_CAS_COUNT.ALL",
- "PerPkg": "1",
- "UMask": "0x3",
- "Unit": "iMC_DCLK"
- },
- {
- "BriefDescription": "CAS Reads",
- "EventCode": "0x03",
- "EventName": "UNC_M_CAS_COUNT.RD",
- "PerPkg": "1",
- "UMask": "0x1",
- "Unit": "iMC_DCLK"
- },
- {
- "BriefDescription": "CAS Writes",
- "EventCode": "0x03",
- "EventName": "UNC_M_CAS_COUNT.WR",
- "PerPkg": "1",
- "UMask": "0x2",
- "Unit": "iMC_DCLK"
- },
- {
- "BriefDescription": "DCLK count",
- "EventName": "UNC_M_D_CLOCKTICKS",
- "PerPkg": "1",
- "Unit": "iMC_DCLK"
- },
- {
- "BriefDescription": "UCLK count",
- "EventName": "UNC_M_U_CLOCKTICKS",
- "PerPkg": "1",
- "Unit": "iMC_UCLK"
}
]
--
2.40.0.577.gac1e443424-goog
Powered by blists - more mailing lists