Junaid Aslam writes: > Dear Sir > I am a student in Netherlands TU/e and intend to explore QEMU for a project. I > need help in understanding how i can trace an individual instruction which is > translated by TCG. For this moment in am more interested in Guest load store > and > Function call instructions. Can you please help me on how i can generate Trace > file for above mentioned instructions.? I hope to have your reply soon.
Not all pieces are merged upstream to make it easy, but you can already add your own trace events for that. Look at "docs/tracing.txt" for info on the "tcg" event property to trace guest instructions. You can then edit the instruction translation file (e.g., "target-i386/translate.c") to insert calls to your new events. Cheers, Lluis