From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiK6a-0004td-S6 for qemu-devel@nongnu.org; Wed, 04 Jan 2012 01:13:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiK6Z-0003ga-Pf for qemu-devel@nongnu.org; Wed, 04 Jan 2012 01:13:44 -0500 Received: from e28smtp03.in.ibm.com ([122.248.162.3]:41254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiK6Z-0003gM-5k for qemu-devel@nongnu.org; Wed, 04 Jan 2012 01:13:43 -0500 Received: from /spool/local by e28smtp03.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 4 Jan 2012 11:43:37 +0530 Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q046DWaw2699326 for ; Wed, 4 Jan 2012 11:43:32 +0530 Received: from d28av05.in.ibm.com (loopback [127.0.0.1]) by d28av05.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q046DVN8008269 for ; Wed, 4 Jan 2012 17:13:32 +1100 Message-ID: <4F03EE0B.706@linux.vnet.ibm.com> Date: Wed, 04 Jan 2012 11:43:31 +0530 From: Harsh Bora MIME-Version: 1.0 References: <1325487023-10613-1-git-send-email-harsh@linux.vnet.ibm.com> <877h1a5kun.fsf@ginnungagap.bsc.es> In-Reply-To: <877h1a5kun.fsf@ginnungagap.bsc.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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: =?ISO-8859-1?Q?Llu=EDs_Vilanova?= Cc: aneesh.kumar@linux.vnet.ibm.com, stefanha@linux.vnet.ibm.com, qemu-devel@nongnu.org On 01/02/2012 06:20 PM, Lluís Vilanova wrote: > 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. Thanks, Python appears to become mandatory requirement soon as per http://lists.gnu.org/archive/html/qemu-devel/2012-01/msg00169.html > > 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). I guess yes, however this patch still needs to be updated for code generation for other tracing backends. - Harsh > > > Lluis >