aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorLike Xu <[email protected]>2023-06-02 18:10:54 -0700
committerSean Christopherson <[email protected]>2023-06-06 17:31:44 -0700
commitd338d8789e64b2d8ed2f82f9364c415d6efa118d (patch)
tree000419ab62a2020cea3a1290dda2c7fa810afd15 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent6a08083f294cb623fbc882417b28c5646b01f4bf (diff)
KVM: x86/pmu: Advertise PERFCTR_CORE iff the min nr of counters is met
Enable and advertise PERFCTR_CORE if and only if the minimum number of required counters are available, i.e. if perf says there are less than six general purpose counters. Opportunistically, use kvm_cpu_cap_check_and_set() instead of open coding the check for host support. Suggested-by: Sean Christopherson <[email protected]> Signed-off-by: Like Xu <[email protected]> [sean: massage shortlog and changelog] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions