When doing full system emulation, QEMU provides us with an option to trace events which can then be analysed(for eg. the simple trace backend). I wanted to know if it's possible for me to trace the execution flow(tb_exec,translate_block etc) when using the user mode emulation to run a 32 bits MIPS binary in x86_64 environment(qemu-mips-static).
The ubuntu distro provides me with black box binaries to perform user mode emulation(qemu-user-static) but I couldn't find a way to build these binaries from source so that I can have the tracing backend enabled. I tried to build qemu statically from the source code but that ended up giving me the qemu-system-mips binary statically linked.