aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLike Xu <[email protected]>2022-04-11 18:19:38 +0800
committerPaolo Bonzini <[email protected]>2022-06-08 04:48:00 -0400
commit6ebe44366bdeaf3059f2b644bbd99824ae824228 (patch)
tree52f44a3c6b9d6892b9dc56c12a5ea233f1820771 /tools/perf/scripts/python/export-to-sqlite.py
parent79f3e3b58386a2fc05054367b905619f741beeb4 (diff)
KVM: x86/pmu: Adjust precise_ip to emulate Ice Lake guest PDIR counter
The PEBS-PDIR facility on Ice Lake server is supported on IA31_FIXED0 only. If the guest configures counter 32 and PEBS is enabled, the PEBS-PDIR facility is supposed to be used, in which case KVM adjusts attr.precise_ip to 3 and request host perf to assign the exactly requested counter or fail. The CPU model check is also required since some platforms may place the PEBS-PDIR facility in another counter index. Signed-off-by: Like Xu <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions