diff options
author | Peter Zijlstra (Intel) <peterz@infradead.org> | 2022-04-11 18:19:35 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-08 04:47:52 -0400 |
commit | 0d23dc34a7cefde5ee25c321949579694edbd16d (patch) | |
tree | c0acd31e754300bcc0a7813a45c497ac1b096e68 /arch/hexagon | |
parent | 2c985527dd8d283e786ad7a67e532ef7f6f00fac (diff) | |
download | linux-0d23dc34a7cefde5ee25c321949579694edbd16d.tar.bz2 |
x86/perf/core: Add pebs_capable to store valid PEBS_COUNTER_MASK value
The value of pebs_counter_mask will be accessed frequently
for repeated use in the intel_guest_get_msrs(). So it can be
optimized instead of endlessly mucking about with branches.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Message-Id: <20220411101946.20262-7-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/hexagon')
0 files changed, 0 insertions, 0 deletions