aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-11-03 16:05:37 -0700
committerSean Christopherson <[email protected]>2023-11-30 12:52:54 -0800
commit1647b52757d59131fe30cf73fa36fac834d4367f (patch)
tree990d0b48d5771455f9fe870137c550e1c17224df /tools/perf/scripts/python/netdev-times.py
parentcbb359d81a2695bb5e63ec9de06fcbef28518891 (diff)
KVM: x86/pmu: Reset the PMU, i.e. stop counters, before refreshing
Stop all counters and release all perf events before refreshing the vPMU, i.e. before reconfiguring the vPMU to respond to changes in the vCPU model. Clear need_cleanup in kvm_pmu_reset() as well so that KVM doesn't prematurely stop counters, e.g. if KVM enters the guest and enables counters before the vCPU is scheduled out. Cc: [email protected] Reviewed-by: Dapeng Mi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions