I'm on my phone so I'm not going to write much, but the first glaring bug is that your return probes are not predicated on the entry probe firing first. It is therefore possible that you are enabling probes whilst some process is in rmdir, unlink or rename, so that you see the return but not the entry. This is a common mistake for the DTrace novice.
You return probe predicates should be: / self->file / or / self->file && ...... / Check out the DTrace Toolkit and reference manual for examples of how it's done. Phil http://harmanholistix.com On 5 Oct 2010, at 04:50, chris moden <chrismo...@yahoo.com.au> wrote: > Hi Guys, > > Just got this error > > <code> > dtrace: error on enabled probe ID 6 (ID 11792: syscall::rename:return): > invalid address (0x0) in action #1 at DIF offset 28 > </code> > which I thought I'd solved above. Apparently not :( any ptrs gratefully > received. > > Cheers > Chris > -- > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss@opensolaris.org _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org