aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJim Mattson <[email protected]>2020-06-03 16:56:18 -0700
committerPaolo Bonzini <[email protected]>2020-07-08 16:21:42 -0400
commit73cd6e5f7f0b8c07330c48bfec4aaa84a6921cf4 (patch)
tree3d89710637520d1edb5305170f1b639f0c5cd1a9 /tools/perf/scripts
parenta8d908b5873cad212b0f74569f5a23b804e694ce (diff)
kvm: svm: Prefer vcpu->cpu to raw_smp_processor_id()
The current logical processor id is cached in vcpu->cpu. Use it instead of raw_smp_processor_id() when a kvm_vcpu struct is available. Signed-off-by: Jim Mattson <[email protected]> Reviewed-by: Oliver Upton <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions