qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Tracing memory accesses by emulated systems
@ 2007-02-04 16:17 Christian Leber
  2007-02-04 18:43 ` maestro
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Leber @ 2007-02-04 16:17 UTC (permalink / raw)
  To: qemu-devel

Hello,

I would like to trace all "physical" memory read/write operations for x86_64,
but I have to admit that I'm not sure where exactly this has to be
implemented.

Could somebody give me some hints where and how I could do that?
(or is there already a patch that does this? on irc somebody suggested
that something like that could exist, but I was not able to find it)

Regards

Christian Leber

-- 
http://rettetdieti.vde-uni-mannheim.de/

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

* Re: [Qemu-devel] Tracing memory accesses by emulated systems
  2007-02-04 16:17 [Qemu-devel] Tracing memory accesses by emulated systems Christian Leber
@ 2007-02-04 18:43 ` maestro
  0 siblings, 0 replies; 2+ messages in thread
From: maestro @ 2007-02-04 18:43 UTC (permalink / raw)
  To: qemu-devel

Am Sonntag, den 04.02.2007, 17:17 +0100 schrieb Christian Leber:
> Hello,
> 
> I would like to trace all "physical" memory read/write operations for x86_64,
> but I have to admit that I'm not sure where exactly this has to be
> implemented.
> 
> Could somebody give me some hints where and how I could do that?
> (or is there already a patch that does this? on irc somebody suggested
> that something like that could exist, but I was not able to find it)
> 
> Regards
> 
> Christian Leber
hello christian!

i'm not sure if it applies for 64bit (but i'd assume it does).
afaik the easiest way to catch "all" (dma operations are not covered
there - i think) memory accesses is via the ld*,st* macros in
softmmu_helper.h and softmmu_header.h. at least this is the way i did
that.

cheers
m.

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

end of thread, other threads:[~2007-02-04 18:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-04 16:17 [Qemu-devel] Tracing memory accesses by emulated systems Christian Leber
2007-02-04 18:43 ` maestro

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).