diff options
| author | Sean Christopherson <[email protected]> | 2024-03-07 01:13:43 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2024-04-11 19:58:47 +0000 |
| commit | 0d0b60865071115f6da76090f0dbc1f0e8b9c647 (patch) | |
| tree | de2bb1f05c9d7ee602117c754c119ee72cec8077 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | KVM: VMX: Snapshot LBR capabilities during module initialization (diff) | |
| download | kernel-0d0b60865071115f6da76090f0dbc1f0e8b9c647.tar.gz kernel-0d0b60865071115f6da76090f0dbc1f0e8b9c647.zip | |
perf/x86/intel: Expose existence of callback support to KVM
Add a "has_callstack" field to the x86_pmu_lbr structure used to pass
information to KVM, and set it accordingly in x86_perf_get_lbr(). KVM
will use has_callstack to avoid trying to create perf LBR events with
PERF_SAMPLE_BRANCH_CALL_STACK on CPUs that don't support callstacks.
Reviewed-by: Mingwei Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
