diff options
author | Sean Christopherson <[email protected]> | 2023-02-08 20:42:30 +0000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2023-02-15 08:25:44 -0500 |
commit | 4b4191b8ae1278bde3642acaaef8f92810ed111a (patch) | |
tree | fd0aa814aee1e46ab851b7bf2a87d1f9a151f069 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 4d7404e5ee0066e9a9e8268675de8a273b568b08 (diff) |
perf/x86: Refuse to export capabilities for hybrid PMUs
Now that KVM disables vPMU support on hybrid CPUs, WARN and return zeros
if perf_get_x86_pmu_capability() is invoked on a hybrid CPU. The helper
doesn't provide an accurate accounting of the PMU capabilities for hybrid
CPUs and needs to be enhanced if KVM, or anything else outside of perf,
wants to act on the PMU capabilities.
Cc: [email protected]
Cc: Andrew Cooper <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Andi Kleen <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions