qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Tracing guest virtual addresses


From: Lluís Vilanova
Subject: Re: [Qemu-devel] Tracing guest virtual addresses
Date: Tue, 20 Jun 2017 14:02:02 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]