diff options
| author | Sean Christopherson <[email protected]> | 2024-03-07 01:13:42 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2024-04-11 19:58:46 +0000 |
| commit | 447112d7edd77fa468938377418434233bcb3709 (patch) | |
| tree | a09c7abb357f62c358ce77af2fd47f200affb6de /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | KVM: VMX: Ignore MKTME KeyID bits when intercepting #PF for allow_smaller_max... (diff) | |
| download | kernel-447112d7edd77fa468938377418434233bcb3709.tar.gz kernel-447112d7edd77fa468938377418434233bcb3709.zip | |
KVM: VMX: Snapshot LBR capabilities during module initialization
Snapshot VMX's LBR capabilities once during module initialization instead
of calling into perf every time a vCPU reconfigures its vPMU. This will
allow massaging the LBR capabilities, e.g. if the CPU doesn't support
callstacks, without having to remember to update multiple locations.
Opportunistically tag vmx_get_perf_capabilities() with __init, as it's
only called from vmx_set_cpu_caps().
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
