Received: from eggs.gnu.org ([140.186.70.92]:54251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhhMc-0004Gr-Nt for qemu-devel@nongnu.org; Mon, 02 Jan 2012 07:51:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhhMb-0002lI-Nk for qemu-devel@nongnu.org; Mon, 02 Jan 2012 07:51:42 -0500 Received: from gw.ac.upc.edu ([147.83.30.3]:59219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhhMb-0002lC-HT for qemu-devel@nongnu.org; Mon, 02 Jan 2012 07:51:41 -0500 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <1325487023-10613-1-git-send-email-harsh@linux.vnet.ibm.com> Date: Mon, 02 Jan 2012 13:50:56 +0100 In-Reply-To: <1325487023-10613-1-git-send-email-harsh@linux.vnet.ibm.com> (Harsh Prateek Bora's message of "Mon, 2 Jan 2012 12:20:18 +0530") Message-ID: <877h1a5kun.fsf@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [RFC PATCH 0/4] simpletrace : support var num/size of args, strings. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Harsh Prateek Bora Cc: aneesh.kumar@linux.vnet.ibm.com, qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com Harsh Prateek Bora writes: > Converting tracetool.sh to tracetool.py Excellent! I was thinking about switching the script language to python, but wasn't sure if python was an acceptable build dependency for the project. I was modifying the bash tracetool to add a tracing layer more amenable to instrumentation (together with the API that Avi suggested for 3rd party tracing tools to interact with QEMU). It currently looks like: * trace.h (includes trace-backend.h) -> backend={no instrumentation, static instr, dynamic instr (dlopen)} * trace-backend.h -> backend={nop,stderr,simple,dtrace,...} And similarly for TCG tracing. What I'd like to know is if I can switch right away into this new script to finish these changes (and avoid doing the work twice). Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth