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).