aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2021-02-02 09:36:08 -0500
committerPaolo Bonzini <[email protected]>2021-02-04 05:27:24 -0500
commit9c9520ce883386dc3794c7d60204487ff1db09cb (patch)
tree6a973ed310fb4a63ddf2eb8ad4e8664d536cee33 /tools/perf/scripts/python
parenta755753903a40d982f6dd23d65eb96b248a2577a (diff)
KVM: vmx/pmu: Add PMU_CAP_LBR_FMT check when guest LBR is enabled
Usespace could set the bits [0, 5] of the IA32_PERF_CAPABILITIES MSR which tells about the record format stored in the LBR records. The LBR will be enabled on the guest if host perf supports LBR (checked via x86_perf_get_lbr()) and the vcpu model is compatible with the host one. Signed-off-by: Like Xu <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions