qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Monitoring memory access
@ 2010-07-09  9:55 Jun Koi
  2010-07-09 10:41 ` malc
  0 siblings, 1 reply; 4+ messages in thread
From: Jun Koi @ 2010-07-09  9:55 UTC (permalink / raw)
  To: qemu-devel

Hi,

I want to monitor memory reading access in Qemu. According to function
tcg/i386/tcg-target.c::tcg_out_qemu_ld(), all the memory access must
call qemu_ld_helpers[] functions, which in turn calls __ldX_mmu
functions.

These __ldX_mmu() functions are declared in softmmu_template.c, with
macro glue(glue(__ld, SUFFIX), MMUSUFFIX).

To monitor memory reading access, I simply put my monitored code at
the top of the above macro. But apparently I still miss something,
because I dont see the memory access I am looking for.

Any hint where I am wrong? Perhaps some memory access do not call the
qemu_ld_helpers[] functions?

Many thanks,
Jun

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-09 18:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-09  9:55 [Qemu-devel] Monitoring memory access Jun Koi
2010-07-09 10:41 ` malc
2010-07-09 12:45   ` Jun Koi
2010-07-09 18:44     ` malc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).