diff options
| author | Like Xu <[email protected]> | 2021-02-01 13:10:33 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-02-04 05:27:24 -0500 |
| commit | 8e12911b243e485f5e4c7c5fbc79cdf185728700 (patch) | |
| tree | 4b745be0241532484eabaaae51cf0aa59adc7d87 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | c646236344e9054cc84cd5a9f763163b9654cf7e (diff) | |
KVM: vmx/pmu: Create a guest LBR event when vcpu sets DEBUGCTLMSR_LBR
When vcpu sets DEBUGCTLMSR_LBR in the MSR_IA32_DEBUGCTLMSR, the KVM handler
would create a guest LBR event which enables the callstack mode and none of
hardware counter is assigned. The host perf would schedule and enable this
event as usual but in an exclusive way.
The guest LBR event will be released when the vPMU is reset but soon,
the lazy release mechanism would be applied to this event like a vPMC.
Suggested-by: Andi Kleen <[email protected]>
Co-developed-by: Wei Wang <[email protected]>
Signed-off-by: Wei Wang <[email protected]>
Signed-off-by: Like Xu <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions