From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60532 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqANT-00072q-Uw for qemu-devel@nongnu.org; Mon, 30 Aug 2010 15:50:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqANQ-0000Gd-9y for qemu-devel@nongnu.org; Mon, 30 Aug 2010 15:50:46 -0400 Received: from mail-qy0-f173.google.com ([209.85.216.173]:38320) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqANQ-0000G3-7j for qemu-devel@nongnu.org; Mon, 30 Aug 2010 15:50:44 -0400 Received: by qyk5 with SMTP id 5so3317374qyk.4 for ; Mon, 30 Aug 2010 12:50:42 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1283174836-6330-2-git-send-email-stefanha@linux.vnet.ibm.com> References: <1283174836-6330-1-git-send-email-stefanha@linux.vnet.ibm.com> <1283174836-6330-2-git-send-email-stefanha@linux.vnet.ibm.com> From: Blue Swirl Date: Mon, 30 Aug 2010 19:50:21 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Re: [PATCH 01/14] trace: Add trace-events file for declaring trace events List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Anthony Liguori , qemu-devel@nongnu.org, Prerna Saxena On Mon, Aug 30, 2010 at 1:27 PM, Stefan Hajnoczi wrote: > This patch introduces the trace-events file where trace events can be > declared like so: > > qemu_malloc(size_t size) "size %zu" > qemu_free(void *ptr) "ptr %p" > > These trace event declarations are processed by a new tool called > tracetool to generate code for the trace events. =C2=A0Trace event > declarations are independent of the backend tracing system (LTTng User > Space Tracing, ftrace markers, DTrace). I think the tool does not work if 'sh' is not 'bash'. For example, on OpenBSD I got: config-host.mak is out-of-date, running configure Error: invalid trace backend Please choose a supported trace backend. GEN trace.h /src/qemu/tracetool[176]: no closing quote This shows the problem: sh -x ../tracetool --nop --check-backend + set -f ../tracetool[176]: no closing quote