Jayanto Minocha writes: > Hi, > I think there have been a few threads on the mailing list regarding tracing > guest virtual addresses for load and store instructions, but I have been > unable to get it to work. I am trying this for an AArch64 machine, and am > using the softmmu.
> The tracing infrastructure provides the following event: > vcpu tcg guest_mem_before(...). > But that is only used to instrument the cpu_ld/cpu_st macros, which is only > called in the case of a tlb miss. > I've been going over the archives, and it looks like I need to instrument > tcg_out_tlb_load. Am I on the right path ? That event should trace all guest memory accesses performed by the CPU. If you found any case where this does not hold, it is likely a bug and I'd appreciate it if you can point me to the smallest possible failing example. Thanks, Lluis