* [Qemu-devel] Tracing TranslationBlocks to file
@ 2010-09-10 12:39 Robert Peter
0 siblings, 0 replies; only message in thread
From: Robert Peter @ 2010-09-10 12:39 UTC (permalink / raw)
To: qemu-devel
Hello!
I am trying to modify Qemu to trace the executed BasicBlocks and their
lengths to a file. The host platform is x86_64, quest is arm-softmmu.
Currently I am passing the current TranslationBlock from
gen_intermediate_code_internal() to disas_arm_insn() in
"target-arm/translate.c". The TranslationBlock's pc and size field are
writte to a file in disas_arm_insn().
Unfortunately, "size" is 0 in most cases. Is this correct? Additionally,
I am wondering if "size" represents the TB's size before or after
translation (in ARM or x86 code).
Any help would be greatly appreciated!
Thanks,
Robert
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-10 12:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-10 12:39 [Qemu-devel] Tracing TranslationBlocks to file Robert Peter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).