Skip to content
Commit 20cf9147 authored by Jim Mattson's avatar Jim Mattson Committed by Paolo Bonzini
Browse files

x86/pmu: Test PMU virtualization on emulated instructions



Add tests of "instructions retired" and "branch instructions retired,"
to ensure that these events count emulated instructions.

Signed-off-by: default avatarEric Hankland <ehankland@google.com>
[jmattson:
  - Added command-line parameter to conditionally run the new tests.
  - Added pmu-emulation test to unittests.cfg
]
Signed-off-by: default avatarJim Mattson <jmattson@google.com>
Message-Id: <20211112235652.1127814-1-jmattson@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent c50c1950
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment