From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34398 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9JRX-00010D-I4 for qemu-devel@nongnu.org; Fri, 22 Oct 2010 11:22:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9JRW-0006BW-Gh for qemu-devel@nongnu.org; Fri, 22 Oct 2010 11:22:07 -0400 Received: from mtagate2.uk.ibm.com ([194.196.100.162]:41490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9JRW-0006BN-6z for qemu-devel@nongnu.org; Fri, 22 Oct 2010 11:22:06 -0400 Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate2.uk.ibm.com (8.13.1/8.13.1) with ESMTP id o9MFM4vq002323 for ; Fri, 22 Oct 2010 15:22:04 GMT Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o9MFM4dH3436686 for ; Fri, 22 Oct 2010 16:22:04 +0100 Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o9MFM4Kp028655 for ; Fri, 22 Oct 2010 09:22:04 -0600 Date: Fri, 22 Oct 2010 16:22:03 +0100 From: Stefan Hajnoczi Message-ID: <20101022152203.GA14171@stefan-thinkpad.transitives.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] Re: [PATCH] sparc32: convert debug printf statements to tracepoints List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel On Thu, Oct 21, 2010 at 08:13:51PM +0000, Blue Swirl wrote: > Replace debug printf statements with tracepoints. > > Signed-off-by: Blue Swirl > --- > There were problems with tracetool if the tracepoint string contained > parentheses or brackets, so I removed those. > > hw/cs4231.c | 20 ++------- > hw/eccmemctl.c | 46 +++++++++------------- > hw/lance.c | 14 ++----- > hw/slavio_intctl.c | 38 ++++++------------ > hw/slavio_misc.c | 51 ++++++++++--------------- > hw/slavio_timer.c | 49 ++++++++--------------- > hw/sparc32_dma.c | 42 ++++++-------------- > hw/sun4m.c | 18 ++------ > hw/sun4m_iommu.c | 33 ++++----------- > trace-events | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > 10 files changed, 213 insertions(+), 206 deletions(-) Acked-by: Stefan Hajnoczi Out of interest, why is %8.8x used instead of %08x? Is there a difference in meaning or just style? Stefan