diff options
| author | Like Xu <[email protected]> | 2021-02-01 13:10:37 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-02-04 05:27:26 -0500 |
| commit | 9aa4f622460f9287e57804dbeb219bfef29f04a1 (patch) | |
| tree | 90447070a2e7ebc199f4edbdd68e3991b3201263 /tools/perf/scripts/python | |
| parent | e6209a3bef793e8fe29c873a7612023916eaa611 (diff) | |
KVM: vmx/pmu: Release guest LBR event via lazy release mechanism
The vPMU uses GUEST_LBR_IN_USE_IDX (bit 58) in 'pmu->pmc_in_use' to
indicate whether a guest LBR event is still needed by the vcpu. If the
vcpu no longer accesses LBR related registers within a scheduling time
slice, and the enable bit of LBR has been unset, vPMU will treat the
guest LBR event as a bland event of a vPMC counter and release it
as usual. Also, the pass-through state of LBR records msrs is cancelled.
Signed-off-by: Like Xu <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions