From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60936 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsfFD-0001or-Cr for qemu-devel@nongnu.org; Mon, 06 Sep 2010 13:12:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsfFC-0007ln-77 for qemu-devel@nongnu.org; Mon, 06 Sep 2010 13:12:35 -0400 Received: from mail-gx0-f173.google.com ([209.85.161.173]:63856) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsfFC-0007lZ-3e for qemu-devel@nongnu.org; Mon, 06 Sep 2010 13:12:34 -0400 Received: by gxk26 with SMTP id 26so2005505gxk.4 for ; Mon, 06 Sep 2010 10:12:33 -0700 (PDT) Message-ID: <4C8520FF.1090105@codemonkey.ws> Date: Mon, 06 Sep 2010 12:12:31 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v3 00/14] trace: Add static tracing to QEMU References: <1283786051-29530-1-git-send-email-stefanha@linux.vnet.ibm.com> <20100906165147.GL4777@redhat.com> In-Reply-To: <20100906165147.GL4777@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Blue Swirl , qemu-devel@nongnu.org, "Michael S. Tsirkin" , Stefan Hajnoczi , Prerna Saxena On 09/06/2010 11:51 AM, Daniel P. Berrange wrote: > On Mon, Sep 06, 2010 at 04:13:57PM +0100, Stefan Hajnoczi wrote: > >> This patch series adds static tracing to QEMU. It can be used to instrument >> QEMU code by means of lightweight logging called trace events. >> >> Prerna and I are now posting the entire patch series with a serious eye towards >> checking we meet users' and developers' tracing needs and with the goal of >> getting this functionality merged into qemu.git. >> > The main question would be why create a tracing framework and probe > markup macros specific to QEMU ? It looks like quite a few major > open source projects (PostgreSQL, Python, TCL, OpenJDK) are using > DTrace static probe markers for code instrumentation. IIUC this > is accessible on Solaris, (Free/Net?)-BSD, OS-X and also Linux via > SystemTAP's DTrace compat layer. Is this QEMU specific probe markup > flexible enough to make it possible to also support DTrace/SystemTAP > without having to add a second set of source code markers to every > probe point ? > Yes, there's a simple generator which converts are marker format to any type of backend. It can be LTTng, dtrace, or something simpler. If you look at some of the earlier threads, the basic problem is that no single trace point infrastructure seems to be sufficiently mature today so using an intermediary to delay the decision of which backend should be used seemed like the prudent thing to do. Regards, Anthony Liguori > Regards, > Daniel >