From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:36594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9aSI-000559-2Y for qemu-devel@nongnu.org; Fri, 30 Sep 2011 06:36:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9aSH-0007h6-82 for qemu-devel@nongnu.org; Fri, 30 Sep 2011 06:36:34 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:60114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9aSG-0007gv-Mq for qemu-devel@nongnu.org; Fri, 30 Sep 2011 06:36:33 -0400 Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [202.81.31.246]) by e23smtp06.au.ibm.com (8.14.4/8.13.1) with ESMTP id p8UAZG3J011641 for ; Fri, 30 Sep 2011 20:35:16 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p8UAYGrO2424966 for ; Fri, 30 Sep 2011 20:34:18 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p8UAaL3A031364 for ; Fri, 30 Sep 2011 20:36:21 +1000 From: Harsh Prateek Bora Date: Fri, 30 Sep 2011 16:06:12 +0530 Message-Id: <1317378975-25080-1-git-send-email-harsh@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/3] Replace 9p debug infrastructure with Qemu Tracing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: stefanha@gmail.com, Harsh Prateek Bora , aneesh.kumar@linux.vnet.ibm.com 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