[Top][All Lists]

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

Qemu 4.2 - tracing data memory accesses

From: Benjamin
Subject: Qemu 4.2 - tracing data memory accesses
Date: Mon, 16 Mar 2020 15:20:34 -0600

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.

What functions or files in the source should I look for that would help me understand this better?  Someone told me to look in softmmu_template.h, but they were using v0.12, which is a little bit old now.


reply via email to

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