summary refs log tree commit diff stats
path: root/hw/i2c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2018-01-11 11:27:22 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2018-01-16 14:54:52 +0100
commitb5976c2e46e86b36b01d8ac380a182e22209a7cd (patch)
treea4d61df0d36321a2c6a445a30e51aa6e17d949db /hw/i2c
parent6c27a0ded992c2daddf12a225b71e42c965c4c6a (diff)
downloadfocaccia-qemu-b5976c2e46e86b36b01d8ac380a182e22209a7cd.tar.gz
focaccia-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 'hw/i2c')
0 files changed, 0 insertions, 0 deletions