aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-11-03 16:05:38 -0700
committerSean Christopherson <[email protected]>2023-11-30 12:52:54 -0800
commitf2f63f7ec6fd13d2d5d5c6d90ea438fbb5a36adc (patch)
tree2b134778c9d58bc34bde54959ab2c745ead60cdd /tools/perf/scripts/python/netdev-times.py
parent1647b52757d59131fe30cf73fa36fac834d4367f (diff)
KVM: x86/pmu: Stop calling kvm_pmu_reset() at RESET (it's redundant)
Drop kvm_vcpu_reset()'s call to kvm_pmu_reset(), the call is performed only for RESET, which is really just the same thing as vCPU creation, and kvm_arch_vcpu_create() *just* called kvm_pmu_init(), i.e. there can't possibly be any work to do. Unlike Intel, AMD's amd_pmu_refresh() does fill all_valid_pmc_idx even if guest CPUID is empty, but everything that is at all dynamic is guaranteed to be '0'/NULL, e.g. it should be impossible for KVM to have already created a perf event. 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