summaryrefslogtreecommitdiff
path: root/arch/x86/Kconfig.debug
diff options
context:
space:
mode:
authorLike Xu <like.xu@linux.intel.com>2022-04-11 18:19:43 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-08 04:48:14 -0400
commit854250329c02c0616a42532d65e81365272326d1 (patch)
tree20b1ab8f40a07d8b1eb5cd139cd99089598874f4 /arch/x86/Kconfig.debug
parent63f21f326fc9e068d04c2c1d0a722e8db65588ba (diff)
KVM: x86/pmu: Disable guest PEBS temporarily in two rare situations
The guest PEBS will be disabled when some users try to perf KVM and its user-space through the same PEBS facility OR when the host perf doesn't schedule the guest PEBS counter in a one-to-one mapping manner (neither of these are typical scenarios). The PEBS records in the guest DS buffer are still accurate and the above two restrictions will be checked before each vm-entry only if guest PEBS is deemed to be enabled. Suggested-by: Wei Wang <wei.w.wang@intel.com> Signed-off-by: Like Xu <like.xu@linux.intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Message-Id: <20220411101946.20262-15-likexu@tencent.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions