diff options
author | Kan Liang <[email protected]> | 2023-09-11 07:41:38 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-09-12 08:22:24 +0200 |
commit | ffbe4ab0beda55b5c467aa3d95ca14db75a84717 (patch) | |
tree | 058c6aea1064ad6be1dd0cf1360891fdea8acbf1 /tools/perf/scripts/python/libxed.py | |
parent | 950ecdc672aec9cd29036b2e2535b07c103af494 (diff) |
perf/x86/intel: Extend the ref-cycles event to GP counters
The current ref-cycles event is only available on the fixed counter 2.
Starting from the GLC and GRT core, the architectural UnHalted Reference
Cycles event (0x013c) which is available on general-purpose counters
can collect the exact same events as the fixed counter 2.
Update the mapping of ref-cycles to 0x013c. So the ref-cycles can be
available on both fixed counter 2 and general-purpose counters.
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions