From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3SCY-0004EQ-0e for qemu-devel@nongnu.org; Tue, 13 Sep 2011 08:34:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3SCQ-0008Ra-JQ for qemu-devel@nongnu.org; Tue, 13 Sep 2011 08:34:57 -0400 Received: from mtagate3.uk.ibm.com ([194.196.100.163]:49966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3SCQ-0008Q0-8r for qemu-devel@nongnu.org; Tue, 13 Sep 2011 08:34:50 -0400 Received: from d06nrmr1307.portsmouth.uk.ibm.com (d06nrmr1307.portsmouth.uk.ibm.com [9.149.38.129]) by mtagate3.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p8DCYhVn026295 for ; Tue, 13 Sep 2011 12:34:43 GMT Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1307.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p8DCYh2w2056408 for ; Tue, 13 Sep 2011 13:34:43 +0100 Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p8DCYfH0032208 for ; Tue, 13 Sep 2011 06:34:42 -0600 From: Stefan Hajnoczi Date: Tue, 13 Sep 2011 13:34:33 +0100 Message-Id: <1315917277-20670-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/4] Remove trailing double quote limitation and add virtio_set_status trace event List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl , William Cohen This series removes the tracetool parser limitation that format strings must begin and end with double quotes. In practice this means we need to work around PRI*64 usage by adding dummy "" at the end of the line. It's fairly easy to solve this parser limitation and do away with the workarounds. While we're at it, also add the virtio_set_status() trace event to properly follow the lifecycle of virtio devices. docs/tracing.txt | 5 +---- hw/virtio.c | 10 ++++++++++ hw/virtio.h | 9 +-------- scripts/tracetool | 20 +++++++++++++------- trace-events | 37 +++++++++++++++++++------------------ 5 files changed, 44 insertions(+), 37 deletions(-)