mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 10:38:44 -04:00
perf vendor events: Update Intel alderlake
Events are updated to v1.15, the core metrics are based on TMA 4.4 full and the atom metrics on E-core TMA 2.2. Use script at: https://github.com/intel/event-converter-for-linux-perf/blob/master/download_and_gen.py with updates at: https://github.com/captain5050/event-converter-for-linux-perf Updates include: - Rename of topdown TMA metrics from Frontend_Bound to tma_frontend_bound. - Addition of all 6 levels of TMA metrics. Previously metrics involving topdown events were dropped. Child metrics are placed in a group named after their parent allowing children of a metric to be easily measured using the metric name with a _group suffix. - ## and ##? operators are correctly expanded. - The locate-with column is added to the long description describing a sampling event. - Metrics are written in terms of other metrics to reduce the expression size and increase readability. - Update mapfile.csv CPUIDs to match 01.org. Tested with 'perf test': 10: PMU events : 10.1: PMU event table sanity : Ok 10.2: PMU event map aliases : Ok 10.3: Parsing of PMU event table metrics : Ok 10.4: Parsing of PMU event table metrics with fake PMUs : Ok Signed-off-by: Ian Rogers <irogers@google.com> Cc: Ahmad Yasin <ahmad.yasin@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Caleb Biggers <caleb.biggers@intel.com> Cc: Florian Fischer <florian.fischer@muhq.space> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@arm.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: John Garry <john.garry@huawei.com> Cc: Kajol Jain <kjain@linux.ibm.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Kshipra Bopardikar <kshipra.bopardikar@intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Miaoqian Lin <linmq006@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Perry Taylor <perry.taylor@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Samantha Alt <samantha.alt@intel.com> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Richter <tmricht@linux.ibm.com> Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com> Link: https://lore.kernel.org/r/20221004021612.325521-7-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
313b2f384b
commit
a80de06698
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,28 @@
|
||||
[
|
||||
{
|
||||
"BriefDescription": "Counts the number of cacheable memory requests that miss in the LLC. Counts on a per core basis.",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"EventCode": "0x2e",
|
||||
"EventName": "LONGEST_LAT_CACHE.MISS",
|
||||
"PEBScounters": "0,1,2,3,4,5",
|
||||
"SampleAfterValue": "200003",
|
||||
"Speculative": "1",
|
||||
"UMask": "0x41",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of cacheable memory requests that access the LLC. Counts on a per core basis.",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"EventCode": "0x2e",
|
||||
"EventName": "LONGEST_LAT_CACHE.REFERENCE",
|
||||
"PEBScounters": "0,1,2,3,4,5",
|
||||
"SampleAfterValue": "200003",
|
||||
"Speculative": "1",
|
||||
"UMask": "0x4f",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of cycles the core is stalled due to an instruction cache or TLB miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
|
||||
"CollectPEBSRecord": "2",
|
||||
@@ -210,8 +234,8 @@
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 128 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
|
||||
"CollectPEBSRecord": "3",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1",
|
||||
"Data_LA": "1",
|
||||
"EventCode": "0xd0",
|
||||
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_128",
|
||||
@@ -219,7 +243,7 @@
|
||||
"MSRIndex": "0x3F6",
|
||||
"MSRValue": "0x80",
|
||||
"PEBS": "2",
|
||||
"PEBScounters": "0,1,2,3,4,5",
|
||||
"PEBScounters": "0,1",
|
||||
"SampleAfterValue": "1000003",
|
||||
"TakenAlone": "1",
|
||||
"UMask": "0x5",
|
||||
@@ -227,8 +251,8 @@
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 16 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
|
||||
"CollectPEBSRecord": "3",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1",
|
||||
"Data_LA": "1",
|
||||
"EventCode": "0xd0",
|
||||
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_16",
|
||||
@@ -236,7 +260,7 @@
|
||||
"MSRIndex": "0x3F6",
|
||||
"MSRValue": "0x10",
|
||||
"PEBS": "2",
|
||||
"PEBScounters": "0,1,2,3,4,5",
|
||||
"PEBScounters": "0,1",
|
||||
"SampleAfterValue": "1000003",
|
||||
"TakenAlone": "1",
|
||||
"UMask": "0x5",
|
||||
@@ -244,8 +268,8 @@
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 256 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
|
||||
"CollectPEBSRecord": "3",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1",
|
||||
"Data_LA": "1",
|
||||
"EventCode": "0xd0",
|
||||
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_256",
|
||||
@@ -253,7 +277,7 @@
|
||||
"MSRIndex": "0x3F6",
|
||||
"MSRValue": "0x100",
|
||||
"PEBS": "2",
|
||||
"PEBScounters": "0,1,2,3,4,5",
|
||||
"PEBScounters": "0,1",
|
||||
"SampleAfterValue": "1000003",
|
||||
"TakenAlone": "1",
|
||||
"UMask": "0x5",
|
||||
@@ -261,8 +285,8 @@
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 32 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
|
||||
"CollectPEBSRecord": "3",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1",
|
||||
"Data_LA": "1",
|
||||
"EventCode": "0xd0",
|
||||
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_32",
|
||||
@@ -270,7 +294,7 @@
|
||||
"MSRIndex": "0x3F6",
|
||||
"MSRValue": "0x20",
|
||||
"PEBS": "2",
|
||||
"PEBScounters": "0,1,2,3,4,5",
|
||||
"PEBScounters": "0,1",
|
||||
"SampleAfterValue": "1000003",
|
||||
"TakenAlone": "1",
|
||||
"UMask": "0x5",
|
||||
@@ -278,8 +302,8 @@
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 4 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
|
||||
"CollectPEBSRecord": "3",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1",
|
||||
"Data_LA": "1",
|
||||
"EventCode": "0xd0",
|
||||
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_4",
|
||||
@@ -287,7 +311,7 @@
|
||||
"MSRIndex": "0x3F6",
|
||||
"MSRValue": "0x4",
|
||||
"PEBS": "2",
|
||||
"PEBScounters": "0,1,2,3,4,5",
|
||||
"PEBScounters": "0,1",
|
||||
"SampleAfterValue": "1000003",
|
||||
"TakenAlone": "1",
|
||||
"UMask": "0x5",
|
||||
@@ -295,8 +319,8 @@
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 512 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
|
||||
"CollectPEBSRecord": "3",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1",
|
||||
"Data_LA": "1",
|
||||
"EventCode": "0xd0",
|
||||
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_512",
|
||||
@@ -304,7 +328,7 @@
|
||||
"MSRIndex": "0x3F6",
|
||||
"MSRValue": "0x200",
|
||||
"PEBS": "2",
|
||||
"PEBScounters": "0,1,2,3,4,5",
|
||||
"PEBScounters": "0,1",
|
||||
"SampleAfterValue": "1000003",
|
||||
"TakenAlone": "1",
|
||||
"UMask": "0x5",
|
||||
@@ -312,8 +336,8 @@
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 64 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
|
||||
"CollectPEBSRecord": "3",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1",
|
||||
"Data_LA": "1",
|
||||
"EventCode": "0xd0",
|
||||
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_64",
|
||||
@@ -321,7 +345,7 @@
|
||||
"MSRIndex": "0x3F6",
|
||||
"MSRValue": "0x40",
|
||||
"PEBS": "2",
|
||||
"PEBScounters": "0,1,2,3,4,5",
|
||||
"PEBScounters": "0,1",
|
||||
"SampleAfterValue": "1000003",
|
||||
"TakenAlone": "1",
|
||||
"UMask": "0x5",
|
||||
@@ -329,8 +353,8 @@
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 8 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
|
||||
"CollectPEBSRecord": "3",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1",
|
||||
"Data_LA": "1",
|
||||
"EventCode": "0xd0",
|
||||
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_8",
|
||||
@@ -338,7 +362,7 @@
|
||||
"MSRIndex": "0x3F6",
|
||||
"MSRValue": "0x8",
|
||||
"PEBS": "2",
|
||||
"PEBScounters": "0,1,2,3,4,5",
|
||||
"PEBScounters": "0,1",
|
||||
"SampleAfterValue": "1000003",
|
||||
"TakenAlone": "1",
|
||||
"UMask": "0x5",
|
||||
@@ -359,7 +383,7 @@
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of stores uops retired. Counts with or without PEBS enabled.",
|
||||
"CollectPEBSRecord": "3",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"Data_LA": "1",
|
||||
"EventCode": "0xd0",
|
||||
@@ -371,6 +395,61 @@
|
||||
"UMask": "0x6",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand data reads that were supplied by the L3 cache.",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"EventCode": "0xB7",
|
||||
"EventName": "OCR.DEMAND_DATA_RD.L3_HIT",
|
||||
"MSRIndex": "0x1a6,0x1a7",
|
||||
"MSRValue": "0x3F803C0001",
|
||||
"SampleAfterValue": "100003",
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"EventCode": "0xB7",
|
||||
"EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM",
|
||||
"MSRIndex": "0x1a6,0x1a7",
|
||||
"MSRValue": "0x10003C0001",
|
||||
"SampleAfterValue": "100003",
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"EventCode": "0xB7",
|
||||
"EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_NO_FWD",
|
||||
"MSRIndex": "0x1a6,0x1a7",
|
||||
"MSRValue": "0x4003C0001",
|
||||
"SampleAfterValue": "100003",
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded.",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"EventCode": "0xB7",
|
||||
"EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD",
|
||||
"MSRIndex": "0x1a6,0x1a7",
|
||||
"MSRValue": "0x8003C0001",
|
||||
"SampleAfterValue": "100003",
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache.",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"EventCode": "0xB7",
|
||||
"EventName": "OCR.DEMAND_RFO.L3_HIT",
|
||||
"MSRIndex": "0x1a6,0x1a7",
|
||||
"MSRValue": "0x3F803C0002",
|
||||
"SampleAfterValue": "100003",
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
|
||||
@@ -47,6 +47,18 @@
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_core"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Cycles the Microcode Sequencer is busy.",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1,2,3",
|
||||
"EventCode": "0x87",
|
||||
"EventName": "DECODE.MS_BUSY",
|
||||
"PEBScounters": "0,1,2,3",
|
||||
"SampleAfterValue": "500009",
|
||||
"Speculative": "1",
|
||||
"UMask": "0x2",
|
||||
"Unit": "cpu_core"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "DSB-to-MITE switch true penalty cycles.",
|
||||
"CollectPEBSRecord": "2",
|
||||
|
||||
@@ -82,6 +82,17 @@
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand data reads that were not supplied by the L3 cache.",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"EventCode": "0xB7",
|
||||
"EventName": "OCR.DEMAND_DATA_RD.L3_MISS_LOCAL",
|
||||
"MSRIndex": "0x1a6,0x1a7",
|
||||
"MSRValue": "0x3F84400001",
|
||||
"SampleAfterValue": "100003",
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were not supplied by the L3 cache.",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
@@ -93,6 +104,17 @@
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were not supplied by the L3 cache.",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"EventCode": "0xB7",
|
||||
"EventName": "OCR.DEMAND_RFO.L3_MISS_LOCAL",
|
||||
"MSRIndex": "0x1a6,0x1a7",
|
||||
"MSRValue": "0x3F84400002",
|
||||
"SampleAfterValue": "100003",
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Execution stalls while L3 cache miss demand load is outstanding.",
|
||||
"CollectPEBSRecord": "2",
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
[
|
||||
{
|
||||
"BriefDescription": "Counts modified writebacks from L1 cache and L2 cache that have any type of response.",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"EventCode": "0xB7",
|
||||
"EventName": "OCR.COREWB_M.ANY_RESPONSE",
|
||||
"MSRIndex": "0x1a6,0x1a7",
|
||||
"MSRValue": "0x10008",
|
||||
"SampleAfterValue": "100003",
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand data reads that have any type of response.",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
@@ -103,6 +114,17 @@
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_core"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand data reads that were supplied by DRAM.",
|
||||
"Counter": "0,1,2,3,4,5,6,7",
|
||||
"EventCode": "0x2A,0x2B",
|
||||
"EventName": "OCR.DEMAND_DATA_RD.DRAM",
|
||||
"MSRIndex": "0x1a6,0x1a7",
|
||||
"MSRValue": "0x184000001",
|
||||
"SampleAfterValue": "100003",
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_core"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts demand read for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that have any type of response.",
|
||||
"Counter": "0,1,2,3,4,5,6,7",
|
||||
|
||||
@@ -330,6 +330,18 @@
|
||||
"UMask": "0x3",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of unhalted reference clock cycles at TSC frequency.",
|
||||
"CollectPEBSRecord": "2",
|
||||
"Counter": "0,1,2,3,4,5",
|
||||
"EventCode": "0x3c",
|
||||
"EventName": "CPU_CLK_UNHALTED.REF_TSC_P",
|
||||
"PEBScounters": "0,1,2,3,4,5",
|
||||
"SampleAfterValue": "2000003",
|
||||
"Speculative": "1",
|
||||
"UMask": "0x1",
|
||||
"Unit": "cpu_atom"
|
||||
},
|
||||
{
|
||||
"BriefDescription": "Counts the number of unhalted core clock cycles. (Fixed event)",
|
||||
"CollectPEBSRecord": "2",
|
||||
@@ -874,7 +886,7 @@
|
||||
"PEBScounters": "0,1,2,3,4,5,6,7",
|
||||
"SampleAfterValue": "100003",
|
||||
"Speculative": "1",
|
||||
"UMask": "0x1f",
|
||||
"UMask": "0x1b",
|
||||
"Unit": "cpu_core"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Family-model,Version,Filename,EventType
|
||||
GenuineIntel-6-9[7A],v1.13,alderlake,core
|
||||
GenuineIntel-6-(97|9A|B7|BA|BE|BF),v1.15,alderlake,core
|
||||
GenuineIntel-6-(1C|26|27|35|36),v4,bonnell,core
|
||||
GenuineIntel-6-(3D|47),v26,broadwell,core
|
||||
GenuineIntel-6-56,v23,broadwellde,core
|
||||
|
||||
|
Reference in New Issue
Block a user