qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Tracing TranslationBlocks to file


From: Robert Peter
Subject: [Qemu-devel] Tracing TranslationBlocks to file
Date: Fri, 10 Sep 2010 14:39:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100908 Lightning/1.0b3pre Thunderbird/3.1.3

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



reply via email to

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