qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH 0/4] simpletrace : support var num/size of a


From: Harsh Bora
Subject: Re: [Qemu-devel] [RFC PATCH 0/4] simpletrace : support var num/size of args, strings.
Date: Wed, 04 Jan 2012 11:43:31 +0530
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Thunderbird/3.0.5

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]