diff options
author | Sean Christopherson <seanjc@google.com> | 2024-01-10 02:02:46 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-01-31 02:29:44 +0300 |
commit | cd34fd8c758e968aae15944b1679c974af719648 (patch) | |
tree | ae59ef4e50abddc4143ccc72a350cb4996678cd7 /lib/memory-notifier-error-inject.c | |
parent | 00856e17da730299205270234cda30628ae53b92 (diff) | |
download | linux-cd34fd8c758e968aae15944b1679c974af719648.tar.xz |
KVM: selftests: Test PMC virtualization with forced emulation
Extend the PMC counters test to use forced emulation to verify that KVM
emulates counter events for instructions retired and branches retired.
Force emulation for only a subset of the measured code to test that KVM
does the right thing when mixing perf events with emulated events.
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Tested-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://lore.kernel.org/r/20240109230250.424295-27-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions