[PATCH v2 24/36] perf vendor events intel: Update knightslanding events

From: Ian Rogers

Date: Wed Dec 02 2026 - 13:42:17 EST


Re-generate knightslanding events with create_perf_json.py:

- Fix uncore iMC_DCLK unit name to "iMC" matching knl_uncore_imc_dclk.
- Fix counter count initialization in counter.json.

Fixes: ae7bcd600e1c ("perf vendor events: Update Intel knightslanding")
Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
---
.../perf/pmu-events/arch/x86/knightslanding/counter.json | 4 ++--
.../pmu-events/arch/x86/knightslanding/uncore-memory.json | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/perf/pmu-events/arch/x86/knightslanding/counter.json b/tools/perf/pmu-events/arch/x86/knightslanding/counter.json
index 4ce9f30a4fe5..30c64fb38069 100644
--- a/tools/perf/pmu-events/arch/x86/knightslanding/counter.json
+++ b/tools/perf/pmu-events/arch/x86/knightslanding/counter.json
@@ -20,14 +20,14 @@
"CountersNumGeneric": "4"
},
{
- "Unit": "iMC_DCLK",
+ "Unit": "iMC",
"CountersNumFixed": "0",
"CountersNumGeneric": "4"
},
{
"Unit": "iMC_UCLK",
"CountersNumFixed": "0",
- "CountersNumGeneric": 4
+ "CountersNumGeneric": "4"
},
{
"Unit": "M2PCIe",
diff --git a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json
index f137dfde8481..1e0993c54011 100644
--- a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json
+++ b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json
@@ -83,7 +83,7 @@
"EventName": "UNC_M_CAS_COUNT.ALL",
"PerPkg": "1",
"UMask": "0x3",
- "Unit": "iMC_DCLK"
+ "Unit": "iMC"
},
{
"BriefDescription": "CAS Reads",
@@ -92,7 +92,7 @@
"EventName": "UNC_M_CAS_COUNT.RD",
"PerPkg": "1",
"UMask": "0x1",
- "Unit": "iMC_DCLK"
+ "Unit": "iMC"
},
{
"BriefDescription": "CAS Writes",
@@ -101,14 +101,14 @@
"EventName": "UNC_M_CAS_COUNT.WR",
"PerPkg": "1",
"UMask": "0x2",
- "Unit": "iMC_DCLK"
+ "Unit": "iMC"
},
{
"BriefDescription": "DCLK count",
"Counter": "0,1,2,3",
"EventName": "UNC_M_D_CLOCKTICKS",
"PerPkg": "1",
- "Unit": "iMC_DCLK"
+ "Unit": "iMC"
},
{
"BriefDescription": "UCLK count",
--
2.56.1.915.g69d5ec7298-goog