From 8278e2edb0c8fd886c65091a75acc3901e3c7bcc Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Thu, 12 Sep 2024 17:29:05 +0200 Subject: [PATCH] AMD Zen3: Remove undocumented events and add not-working L3 latency events. See #623 --- src/includes/perfmon_zen3_events.txt | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/src/includes/perfmon_zen3_events.txt b/src/includes/perfmon_zen3_events.txt index 3ab801fe..92f22945 100644 --- a/src/includes/perfmon_zen3_events.txt +++ b/src/includes/perfmon_zen3_events.txt @@ -536,11 +536,27 @@ UMASK_L3_ACCESS_ALL_TYPES 0xFF UMASK_L3_ACCESS_HIT 0xFE UMASK_L3_ACCESS_MISS 0x01 -EVENT_L3_MISS_LAT 0x90 CPMC -UMASK_L3_MISS_LAT 0x00 - -EVENT_L3_MISS_REQ 0x9A CPMC -UMASK_L3_MISS_REQ 0xFF +# Not working +#EVENT_L3_XI_SAMPLED_LATENCY 0xAC CPMC +#UMASK_L3_XI_SAMPLED_LATENCY_DRAM_NEAR 0x01 +#UMASK_L3_XI_SAMPLED_LATENCY_DRAM_FAR 0x02 +#UMASK_L3_XI_SAMPLED_LATENCY_NEAR_CACHE_FAR_CACHE_NEAR 0x04 +#UMASK_L3_XI_SAMPLED_LATENCY_NEAR_CACHE_FAR_CACHE_FAR 0x08 +#UMASK_L3_XI_SAMPLED_LATENCY_EXT_NEAR 0x10 +#UMASK_L3_XI_SAMPLED_LATENCY_EXT_FAR 0x20 +#DEFAULT_OPTIONS_L3_XI_SAMPLED_LATENCY_ANY EVENT_OPTION_TID=0x3,EVENT_OPTION_SLICE=0x3 +#UMASK_L3_XI_SAMPLED_LATENCY_ANY 0xFF + +# Not working +#EVENT_L3_XI_SAMPLED_LATENCY_REQUESTS 0xAD CPMC +#UMASK_L3_XI_SAMPLED_LATENCY_REQUESTS_DRAM_NEAR 0x01 +#UMASK_L3_XI_SAMPLED_LATENCY_REQUESTS_DRAM_FAR 0x02 +#UMASK_L3_XI_SAMPLED_LATENCY_REQUESTS_NEAR_CACHE_FAR_CACHE_NEAR 0x04 +#UMASK_L3_XI_SAMPLED_LATENCY_REQUESTS_NEAR_CACHE_FAR_CACHE_FAR 0x08 +#UMASK_L3_XI_SAMPLED_LATENCY_REQUESTS_EXT_NEAR 0x10 +#UMASK_L3_XI_SAMPLED_LATENCY_REQUESTS_EXT_FAR 0x20 +#DEFAULT_OPTIONS_L3_XI_SAMPLED_LATENCY_REQUESTS_ANY EVENT_OPTION_TID=0x3,EVENT_OPTION_SLICE=0x3 +#UMASK_L3_XI_SAMPLED_LATENCY_REQUESTS_ANY 0xFF # Energy Events