Received: from [140.186.70.92] (port=55370 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqAge-0006Nz-U9 for qemu-devel@nongnu.org; Mon, 30 Aug 2010 16:10:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqAgD-0003bv-Pz for qemu-devel@nongnu.org; Mon, 30 Aug 2010 16:10:10 -0400 Received: from fe02x03-cgp.akado.ru ([77.232.31.165]:53440 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqAgD-0003bJ-I8 for qemu-devel@nongnu.org; Mon, 30 Aug 2010 16:10:09 -0400 Date: Tue, 31 Aug 2010 00:10:04 +0400 (MSD) From: malc In-Reply-To: Message-ID: References: <1283174836-6330-1-git-send-email-stefanha@linux.vnet.ibm.com> <1283174836-6330-2-git-send-email-stefanha@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="33734824-1575717718-1283199007=:3744" 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: Blue Swirl Cc: Anthony Liguori , Prerna Saxena , Stefan Hajnoczi , qemu-devel@nongnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --33734824-1575717718-1283199007=:3744 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Mon, 30 Aug 2010, Blue Swirl wrote: > 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.  Trace 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: Well, it does work with ash. > > 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 `set -f' is a valid construct according to: http://www.opengroup.org/onlinepubs/009695399/utilities/set.html The problem is likely elsewhere. -- mailto:av1474@comtv.ru --33734824-1575717718-1283199007=:3744--