perf vendor events intel: Rename tremontx to snowridgex
PATCH 1/2 perf vendor events intel: Rename tremontx to snowridgex
From: Zhengjun Xing <[email protected]>
Tremontx was an old name for Snowridgex, so rename Tremontx to Snowridgex.
---
tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +-
.../pmu-events/arch/x86/{tremontx => snowridgex}/cache.json | 0
.../arch/x86/{tremontx => snowridgex}/floating-point.json | 0
.../pmu-events/arch/x86/{tremontx => snowridgex}/frontend.json | 0
.../pmu-events/arch/x86/{tremontx => snowridgex}/memory.json | 0
.../pmu-events/arch/x86/{tremontx => snowridgex}/other.json | 0
.../pmu-events/arch/x86/{tremontx => snowridgex}/pipeline.json | 0
.../arch/x86/{tremontx => snowridgex}/uncore-memory.json | 0
.../arch/x86/{tremontx => snowridgex}/uncore-other.json | 0
.../arch/x86/{tremontx => snowridgex}/uncore-power.json | 0
.../arch/x86/{tremontx => snowridgex}/virtual-memory.json | 0
11 files changed, 1 insertion(+), 1 deletion(-)
rename tools/perf/pmu-events/arch/x86/{tremontx => snowridgex}/cache.json (100%)
rename tools/perf/pmu-events/arch/x86/{tremontx => snowridgex}/floating-point.json (100%)
rename tools/perf/pmu-events/arch/x86/{tremontx => snowridgex}/frontend.json (100%)
rename tools/perf/pmu-events/arch/x86/{tremontx => snowridgex}/memory.json (100%)
rename tools/perf/pmu-events/arch/x86/{tremontx => snowridgex}/other.json (100%)
rename tools/perf/pmu-events/arch/x86/{tremontx => snowridgex}/pipeline.json (100%)
rename tools/perf/pmu-events/arch/x86/{tremontx => snowridgex}/uncore-memory.json (100%)
rename tools/perf/pmu-events/arch/x86/{tremontx => snowridgex}/uncore-other.json (100%)
rename tools/perf/pmu-events/arch/x86/{tremontx => snowridgex}/uncore-power.json (100%)
rename tools/perf/pmu-events/arch/x86/{tremontx => snowridgex}/virtual-memory.json (100%)tools/perf/pmu-events/arch/x86/mapfile.csv +1 -1
@@ -40,7 +40,7 @@ GenuineIntel-6-8[CD],v1,tigerlake,core GenuineIntel-6-A7,v1,icelake,core GenuineIntel-6-6A,v1,icelakex,core GenuineIntel-6-6C,v1,icelakex,core -GenuineIntel-6-86,v1,tremontx,core +GenuineIntel-6-86,v1,snowridgex,core GenuineIntel-6-96,v1,elkhartlake,core GenuineIntel-6-97,v1,alderlake,core GenuineIntel-6-9A,v1,alderlake,core
tools/perf/pmu-events/arch/x86/snowridgex/cache.json renamed from tools/perf/pmu-events/arch/x86/tremontx/cache.json +0 -0
tools/perf/pmu-events/arch/x86/snowridgex/floating-point.json renamed from tools/perf/pmu-events/arch/x86/tremontx/floating-point.json +0 -0
tools/perf/pmu-events/arch/x86/snowridgex/frontend.json renamed from tools/perf/pmu-events/arch/x86/tremontx/frontend.json +0 -0
tools/perf/pmu-events/arch/x86/snowridgex/memory.json renamed from tools/perf/pmu-events/arch/x86/tremontx/memory.json +0 -0
tools/perf/pmu-events/arch/x86/snowridgex/other.json renamed from tools/perf/pmu-events/arch/x86/tremontx/other.json +0 -0
tools/perf/pmu-events/arch/x86/snowridgex/pipeline.json renamed from tools/perf/pmu-events/arch/x86/tremontx/pipeline.json +0 -0
tools/perf/pmu-events/arch/x86/snowridgex/uncore-memory.json renamed from tools/perf/pmu-events/arch/x86/tremontx/uncore-memory.json +0 -0
tools/perf/pmu-events/arch/x86/snowridgex/uncore-other.json renamed from tools/perf/pmu-events/arch/x86/tremontx/uncore-other.json +0 -0
tools/perf/pmu-events/arch/x86/snowridgex/uncore-power.json renamed from tools/perf/pmu-events/arch/x86/tremontx/uncore-power.json +0 -0
tools/perf/pmu-events/arch/x86/snowridgex/virtual-memory.json renamed from tools/perf/pmu-events/arch/x86/tremontx/virtual-memory.json +0 -0
Signature · 1 line
2.25.1
PATCH 2/2 perf vendor events intel: Update event list for Snowridgex
From: Zhengjun Xing <[email protected]>
More uncore events are added in the converter tool:
https://github.com/intel/event-converter-for-linux-perf
Re-generate the perf events based on Snowridgex(SNR) event list v1.19:
https://download.01.org/perfmon/SNR/
--- .../pmu-events/arch/x86/snowridgex/cache.json | 2 +- .../arch/x86/snowridgex/floating-point.json | 2 +- .../arch/x86/snowridgex/frontend.json | 2 +- .../arch/x86/snowridgex/memory.json | 2 +- .../arch/x86/snowridgex/uncore-memory.json | 481 +- .../arch/x86/snowridgex/uncore-other.json | 25243 +++++++++++++++- .../arch/x86/snowridgex/uncore-power.json | 199 +- .../arch/x86/snowridgex/virtual-memory.json | 2 +- 8 files changed, 24434 insertions(+), 1499 deletions(-)
tools/perf/pmu-events/arch/x86/snowridgex/cache.json +1 -1
@@ -1133,4 +1133,4 @@ "SampleAfterValue": "1000003", "UMask": "0x20" } -] +]
tools/perf/pmu-events/arch/x86/snowridgex/floating-point.json +1 -1
@@ -33,4 +33,4 @@ "SampleAfterValue": "2000003", "UMask": "0x8" } -] +]
tools/perf/pmu-events/arch/x86/snowridgex/frontend.json +1 -1
@@ -102,4 +102,4 @@ "SampleAfterValue": "200003", "UMask": "0x2" } -] +]
tools/perf/pmu-events/arch/x86/snowridgex/memory.json +1 -1
@@ -439,4 +439,4 @@ "SampleAfterValue": "100003", "UMask": "0x1" } -] +]
tools/perf/pmu-events/arch/x86/snowridgex/uncore-memory.json +394 -87
636 lines not on this page · raw message
tools/perf/pmu-events/arch/x86/snowridgex/uncore-other.json +23837 -1406
2,340 lines not on this page · raw message
tools/perf/pmu-events/arch/x86/snowridgex/uncore-power.json +198 -1
199 lines not on this page · raw message
tools/perf/pmu-events/arch/x86/snowridgex/virtual-memory.json +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.25.1
Part of the diff is not shown here. View the raw message.
Re: [PATCH 2/2] perf vendor events intel: Update event list for Snowridgex
tools/perf/pmu-events/arch/x86/snowridgex/uncore-memory.json line 29
Quoted 7 lines · On 6/8/2022 2:34 AM, [email protected] wrote:
{tools/perf/pmu-events/arch/x86/snowridgex/uncore-memory.json +1
-2- "BriefDescription": "write requests to memory controller. Derived from unc_m_cas_count.wr", + "BriefDescription": "All DRAM write CAS commands issued", "Counter": "0,1,2,3", "CounterType": "PGMABLE", "EventCode": "0x04", - "EventName": "LLC_MISSES.MEM_WRITE",
The old convertor tool creates many alias to replace the event in the event list. The LLC_MISSES.MEM_WRITE event is one of them.
There is no problem to add the original event name. But I think we should keep both alias and the original name, in case someone already used the alias in their script.
tools/perf/pmu-events/arch/x86/snowridgex/uncore-memory.json line 41
Quoted 6 lines
tools/perf/pmu-events/arch/x86/snowridgex/uncore-memory.json +1
-1+ "EventName": "UNC_M_CAS_COUNT.WR", "PerPkg": "1", - "ScaleUnit": "64Bytes", "UMask": "0x30", "Unit": "iMC" },
Thanks,
Kan