> What I understand is that in gen_icount_start 'icount_arg' keeps a pointer
> to gen_opparam_ptr which is used in gen_icount_end to patch up the value
. I
> however didnt understand what the 'horrid hack' is about. Can any one give
> me some idea on this ?
>My guess is that it's a hack because it
On 30 December 2012 23:14, biswaranjan panda
wrote:
> What I understand is that in gen_icount_start 'icount_arg' keeps a pointer
> to gen_opparam_ptr which is used in gen_icount_end to patch up the value . I
> however didnt understand what the 'horrid hack' is about. Can any one give
> me some ide
Hi ,
I am trying to understand how to count the number of instructions executed
in the guest and came across the gen_icount_start and gen_icount_end
functions.
What I understand is that in gen_icount_start 'icount_arg' keeps a pointer
to gen_opparam_ptr which is used in gen_icount_end to patch up