summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-02-15 17:06:02 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 11:46:53 -0400
commit28039449b83e21f741937e84d4fd6485ad4fb9f8 (patch)
treeada9fa0d1e155158cdbd56e54cac79b390837933 /tools/perf/scripts/python/stackcollapse.py
parent42975c219975f5df0d686868e8b57698b2d09561 (diff)
downloadlinux-28039449b83e21f741937e84d4fd6485ad4fb9f8.tar.gz
linux-28039449b83e21f741937e84d4fd6485ad4fb9f8.zip
KVM: selftests: Convert debug_regs away from VCPU_ID
Convert debug_regs to use vm_create_with_one_vcpu() and pass around a 'struct kvm_vcpu' object instead of using a global VCPU_ID. Opportunstically drop the CLEAR_DEBUG/APPLY_DEBUG macros as they only obfuscate the code, e.g. operating on local variables not "passed" to the macro is all kinds of confusing. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions