summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-04-10 16:17:02 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2020-04-15 12:08:43 -0400
commit8a0639fe9201ed7af73dd40fc4b6f9a4f7b16a42 (patch)
tree8f01c90f708c8b8de0f46ad6d10b84549847b1f4 /tools/perf/scripts/python/stackcollapse.py
parent3e6b94126784fd5b0e781f2e8e980948ee945195 (diff)
KVM: sefltests: Add explicit synchronization to move mem region test
Use sem_post() and sem_timedwait() to synchronize test stages between the vCPU thread and the main thread instead of using usleep() to wait for the vCPU thread and hoping for the best. Opportunistically refactor the code to make it suck less in general, and to prepare for adding more testcases. Suggested-by: Peter Xu <peterx@redhat.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200410231707.7128-6-sean.j.christopherson@intel.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