Tracing memory accesses by emulated systems
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
Signature · 1 line
http://rettetdieti.vde-uni-mannheim.de/
Am Sonntag, den 04.02.2007, 17:17 +0100 schrieb Christian Leber:
Quoted 6 lines
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.
Quoted 7 lines
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.