diff options
author | Alex Bennée | 2018-01-11 09:27:22 +0100 |
---|---|---|
committer | Paolo Bonzini | 2018-01-16 14:54:52 +0100 |
commit | b5976c2e46e86b36b01d8ac380a182e22209a7cd (patch) | |
tree | a4d61df0d36321a2c6a445a30e51aa6e17d949db /scripts/qemugdb | |
parent | util/qemu-thread-*: add qemu_lock, locked and unlock trace events (diff) | |
download | qemu-b5976c2e46e86b36b01d8ac380a182e22209a7cd.tar.gz qemu-b5976c2e46e86b36b01d8ac380a182e22209a7cd.tar.xz qemu-b5976c2e46e86b36b01d8ac380a182e22209a7cd.zip |
scripts/analyse-locks-simpletrace.py: script to analyse lock times
This script allows analysis of mutex acquisition and hold times based
on a trace file. Given a trace control file of:
qemu_mutex_lock
qemu_mutex_locked
qemu_mutex_unlock
And running with:
$QEMU $QEMU_ARGS -trace events=./lock-trace
You can analyse the results with:
./scripts/analyse-locks-simpletrace.py trace-events-all ./trace-21812
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qemugdb')
0 files changed, 0 insertions, 0 deletions