[Top][All Lists]

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

Re: Qemu 4.2 - tracing data memory accesses

From: Benjamin
Subject: Re: Qemu 4.2 - tracing data memory accesses
Date: Tue, 17 Mar 2020 14:21:21 -0600

That does look very promising.  Although it seems this functionality is new with the latest version, do you know of any projects or examples I could look at to learn more about how to write a plugin?

On Mon, Mar 16, 2020 at 5:09 PM Alexei Colin <address@hidden> wrote:
> From: Qemu-discuss [mailto:qemu-discuss-bounces+acolin=address@hidden] On Behalf Of Benjamin
> Sent: Monday, March 16, 2020 5:21 PM
> To: address@hidden
> Subject: Qemu 4.2 - tracing data memory accesses
> I am trying to gather information about data memory accesses by the guest program running in emulation.  I have already figured out which functions are called for accessing the instruction memory (disas_xxx_insn).  
> Say, for example, the guest program accesses a value in an array.  From what I have been able to find, it seems that there is a mapping of addresses in the guest program in the Qemu memory space.  But I don't know where I could place function calls in the Qemu code to track data memory accesses.  My goal in doing this is emulating L1 caches on an ARM processor.

The new TCG plugin might be helpful: https://qemu.readthedocs.io/en/latest/devel/tcg-plugins.html

reply via email to

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