Hi Peng, You can't do this today with DTrace though a watchpoint provider has been a long-standing RFE (that's I'd love to get to soon!). For now your best bet is mdb.
Adam On Feb 13, 2009, at 9:34 AM, Peng Du wrote:
Hello, everyone I am a newbie of DTrace and OpenSolaris. Just wondering is it possible to trace every memory read/write of a specific process given the pid? Basically speaking, I want to record the virtual addresses being accessed by the process, using which I will try to do some online analysis. If DTrace does not support this type of instrumentation, will other tools in OpenSolaris help me achieve that, such as mdb, and etc? Thanks! Peng Du Feb 12, 2009 _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org
-- Adam Leventhal, Fishworks http://blogs.sun.com/ahl _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org