[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Executed Host Instructions
From: |
Lluís Vilanova |
Subject: |
Re: [Qemu-devel] Executed Host Instructions |
Date: |
Tue, 28 Jun 2016 12:50:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
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