diff options
author | 2023-09-11 07:41:38 -0700 | |
---|---|---|
committer | 2023-09-12 08:22:24 +0200 | |
commit | ffbe4ab0beda55b5c467aa3d95ca14db75a84717 (patch) | |
tree | 058c6aea1064ad6be1dd0cf1360891fdea8acbf1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | perf/x86/intel: Fix broken fixed event constraints extension (diff) | |
download | wireguard-linux-ffbe4ab0beda55b5c467aa3d95ca14db75a84717.tar.xz wireguard-linux-ffbe4ab0beda55b5c467aa3d95ca14db75a84717.zip |
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 <kan.liang@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230911144139.2354015-1-kan.liang@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions