Roman Shaposhnik writes: > On Wed, 2008-06-04 at 14:06 -0400, James Carlson wrote: > > "self" is local to the thread executing, and thus crosses the > > boundaries between the separate probe points. "this" is local to a > > single probe clause. > > > > "this->test" wouldn't work here. > > That's why I asked. And based one the quote from Adam's blog -- your > interpretation is NOT what I believe probe-local variables do: > > http://blogs.sun.com/ahl/entry/pid2proc_for_dtrace: [...]
Thanks; I wasn't aware that 'this' would span distinct clauses as long as the probe point itself remains the same. That's surprising and useful. ;-} -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org