aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorVitaly Kuznetsov <[email protected]>2018-09-26 19:02:56 +0200
committerPaolo Bonzini <[email protected]>2018-10-17 00:29:45 +0200
commit87ee613d076351950b74383215437f841ebbeb75 (patch)
treeec82161513eceed1cd7291331c703b443bb6f2be /tools/perf/scripts/python/syscall-counts-by-pid.py
parent1779a39f786397760ae7a7cc03cf37697d8ae58d (diff)
KVM: x86: hyperv: keep track of mismatched VP indexes
In most common cases VP index of a vcpu matches its vcpu index. Userspace is, however, free to set any mapping it wishes and we need to account for that when we need to find a vCPU with a particular VP index. To keep search algorithms optimal in both cases introduce 'num_mismatched_vp_indexes' counter showing how many vCPUs with mismatching VP index we have. In case the counter is zero we can assume vp_index == vcpu_idx. Signed-off-by: Vitaly Kuznetsov <[email protected]> Reviewed-by: Roman Kagan <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions