From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40254 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIPzf-0006R9-Nb for qemu-devel@nongnu.org; Tue, 16 Nov 2010 13:11:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIPzd-0005i0-3n for qemu-devel@nongnu.org; Tue, 16 Nov 2010 13:10:59 -0500 Received: from mail-px0-f173.google.com ([209.85.212.173]:49635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIPzc-0005hq-VE for qemu-devel@nongnu.org; Tue, 16 Nov 2010 13:10:57 -0500 Received: by pxi16 with SMTP id 16so294380pxi.4 for ; Tue, 16 Nov 2010 10:10:56 -0800 (PST) Message-ID: <4CE2C92E.3030006@codemonkey.ws> Date: Tue, 16 Nov 2010 12:10:54 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/2] Add a DTrace tracing backend targetted for SystemTAP compatability References: <1289244788-19961-1-git-send-email-berrange@redhat.com> <1289244788-19961-2-git-send-email-berrange@redhat.com> <4CE2A74C.6050302@codemonkey.ws> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org On 11/16/2010 11:43 AM, Peter Maydell wrote: > On 16 November 2010 15:46, Anthony Liguori wrote: > >> On 11/08/2010 01:33 PM, Daniel P. Berrange wrote: >> >>> This introduces a new tracing backend that targets the SystemTAP >>> implementation of DTrace userspace tracing. >>> > >> Applied both. Thanks. >> > Unfortunately these commits: > 2834c3e Add support for generating a systemtap tapset static probes > 4addb11 Add a DTrace tracing backend targetted for SystemTAP compatability > What's your configure output? I don't have the right environment to build with systemtap support, but --trace-backend=nop should work regardless. Regards, Anthony Liguori > seem to have broken building on x86: > git clone git://git.qemu.org/qemu.git > cd qemu > ./configure > make > > fails with > LINK i386-softmmu/trace > /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crt1.o: In > function `_start': > (.text+0x20): undefined reference to `main' > collect2: ld returned 1 exit status > > Incidentally, although trace.c is autogenerated, if you delete it and > then type make this does not cause it to be regenerated, which > seems wrong to me. > > -- PMM >