Ayaz Akram writes: > Hi All, > I want to count number of host instructions (only for guest code) executed > when qemu emulates an application. I wonder if helper functions are > supported with tcg back end as well, which can be a possible solution for > the mentioned problem ? If not, is there any other solution in someone's > mind ?
If you don't care about helpers, you can use QEMU's log functionality (-d out_asm). If you do care about the helpers, then you can use PIN (assuming you're in an x86 host). Cheers, Lluis