Replace 9p debug infrastructure with Qemu Tracing
Status from this message: applied to v9fs tree with sample output added to patch 3
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesApplied
- v1 RFC2 patches 4 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | hw/9pfs: Introduce tracing for 9p pdu handlershw/ trace-events | +109 | 0 replies | |
| 2/3 | hw/9pfs: Remove virtio-9p-debug.* infra to be replaced by Qemu Tracing.Makefile.objs hw/ hw/ +1 more | +1 | 0 replies | |
| 3/3 | scripts: Simpletrace log analysis script for pretty-printing 9p log.scripts/ | +142 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [PATCH v2 0/3] Replace 9p debug infrastructure with Qemu Tracing
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