* [Qemu-devel] QEMU 3.1 - Getting Instruction Traces
@ 2019-01-12 12:00 Dhruv Agarwal
0 siblings, 0 replies; only message in thread
From: Dhruv Agarwal @ 2019-01-12 12:00 UTC (permalink / raw)
To: qemu-devel
Dear Developers,
I am an undergraduate student trying to generate *a trace of all
instructions executed by the QEMU ARM emulator when it runs a given binary*.
I have been using the* following command* (from an out-of-tree build from
source code):
arm-linux-user/qemu-arm -d in_asm ~/Desktop/hello
(hello is the name of my binary cross-compiled for ARM
using gcc-arm-none-eabi on an x86 host machine).
By doing this, I do get a list of translation blocks that are executed by
the emulator, however I was told by a colleague that this trace/log is
incomplete because of the following reason: the translation blocks already
in the translation cache are not translated again, and hence are not logged
to the screen by QEMU.
Hence, I am now stuck and r*equire a way to generate a complete instruction
trace of all instructions that are executed by the ARM emulator for a given
binary*. Has anyone done the same earlier and can guide me on how to get
this trace?
Thank you and best regards,
Dhruv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-12 12:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-12 12:00 [Qemu-devel] QEMU 3.1 - Getting Instruction Traces Dhruv Agarwal
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).