Skip to content

Commit

Permalink
AMD Zen3: Remove undocumented events and add not-working L3 latency e…
Browse files Browse the repository at this point in the history
…vents. See #623
  • Loading branch information
TomTheBear committed Sep 12, 2024
1 parent 7bc8062 commit 8278e2e
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions src/includes/perfmon_zen3_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8278e2e

Please sign in to comment.