diff options
author | Sandipan Das <[email protected]> | 2024-03-25 13:17:53 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-03-26 09:03:40 +0100 |
commit | c7b2edd8377be983442c1344cb940cd2ac21b601 (patch) | |
tree | 8d335fcbe0eeab5b185d12bb074249075fff40bb /lib/memory-notifier-error-inject.c | |
parent | 598c2fafc06fe5c56a1a415fb7b544b31453d637 (diff) |
perf/x86/amd/core: Update and fix stalled-cycles-* events for Zen 2 and later
AMD processors based on Zen 2 and later microarchitectures do not
support PMCx087 (instruction pipe stalls) which is used as the backing
event for "stalled-cycles-frontend" and "stalled-cycles-backend".
Use PMCx0A9 (cycles where micro-op queue is empty) instead to count
frontend stalls and remove the entry for backend stalls since there
is no direct replacement.
Signed-off-by: Sandipan Das <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Ian Rogers <[email protected]>
Fixes: 3fe3331bb285 ("perf/x86/amd: Add event map for AMD Family 17h")
Link: https://lore.kernel.org/r/03d7fc8fa2a28f9be732116009025bdec1b3ec97.1711352180.git.sandipan.das@amd.com
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions