> Can anyone advise me on where I would start, to achieve this? I took a
> look around freshmeat.net for "memory trace" software, but it all seems to
> be stuff to look for leaks, and just tells you when a malloc or free is
> performed (I want individual reads/writes, so for example if "LD r1,
> 0(r2)" was performed, I'd get as an output something like "read
Right, the kernel is only activated on an exception, interrupt, orQuote:> I thought maybe I should write a kernel module to watch memory accesses,
> but I'm guessing that if the word of data which is being read/written is
> already in memory (which it probably will be, most of the time), then the
> OS will never see the memory request (as a page-fault exception will never
> be raised).
system call, and does not monitor specific user instructions (and
really has no reason to, and to actually implement something like
this would probably not be trivial).
josh(at)cc.gatech.edu | http://intmain.net:800
373080 local keystrokes since last reboot (35 days ago)