On Sat, Feb 02, 2008 at 10:03:33PM -0600, Mike Gerdts wrote:
> My view of 6590548[1] says that it is closed as not a defect but does
> not offer any clues as to why it is not a defect.  Any chance of
> getting this cleared up?

I'm not sure why we don't include the evaluation in the public version, but
here it is:

---8<---
                                 Evaluation
[ahl 8.9.2007]

unlink(2) and unlinkat(2) are different system calls. unlinkat(2) is actually a
subcode (number 5) of the SYS_fsat system call. While it might be confusing to u
sers, DTrace isn't going to slap lipstack on that particular pig.

# dtrace -c 'rm foo' -n 'syscall::fsat:entry/pid == $target && arg0 == 5/{ print
f("unlinking %s", copyinstr(arg2)); }'
dtrace: description 'syscall::fsat:entry' matched 1 probe
dtrace: pid 114682 has exited
CPU     ID                    FUNCTION:NAME
  0  76673                       fsat:entry unlinking foo
Entry 1 adam.leventhal [2007-08-09 23:58]

---8<---

Adam

-- 
Adam Leventhal, Fishworks                        http://blogs.sun.com/ahl
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to