diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2023-09-11 17:41:38 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-09-12 09:22:24 +0300 |
commit | ffbe4ab0beda55b5c467aa3d95ca14db75a84717 (patch) | |
tree | 058c6aea1064ad6be1dd0cf1360891fdea8acbf1 /kernel | |
parent | 950ecdc672aec9cd29036b2e2535b07c103af494 (diff) | |
download | linux-ffbe4ab0beda55b5c467aa3d95ca14db75a84717.tar.xz |
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 'kernel')
0 files changed, 0 insertions, 0 deletions