This patchset introduces Qemu Tracing to 9p pdu handlers and removes the
existing debug infrastructure which became less meaningful after the
introduction of coroutines. With the existing debug infra, parallel
operations creates a messy output and filtering becomes difficult.

With Qemu tracing in place, we can selectively enable/disable trace-events
and the trace log can be further pretty-printed/filtered using an analysis
script.

Harsh Prateek Bora (3):
  hw/9pfs: Introduce tracing for 9p pdu handlers
  hw/9pfs: Remove virtio-9p-debug.* infra to be replaced by Qemu
    Tracing.
  scripts: Simpletrace log analysis script for pretty-printing 9p log.

 Makefile.objs                     |    2 +-
 hw/9pfs/virtio-9p-debug.c         |  646 -------------------------------------
 hw/9pfs/virtio-9p-debug.h         |    6 -
 hw/9pfs/virtio-9p.c               |   70 ++++-
 scripts/analyse-9p-simpletrace.py |  142 ++++++++
 trace-events                      |   47 +++
 6 files changed, 252 insertions(+), 661 deletions(-)
 delete mode 100644 hw/9pfs/virtio-9p-debug.c
 delete mode 100644 hw/9pfs/virtio-9p-debug.h
 create mode 100755 scripts/analyse-9p-simpletrace.py


Reply via email to