[dtrace-discuss] dtrace syscall:::return arg0 weidness on b56 ( x86)

Michael Schuster Michael.Schuster at Sun.COM
Wed Jan 31 07:47:54 PST 2007


Anton Youdkevitch wrote:
> Paul,
> 
> DTrace User Guide states: "The DTrace variable arg1 for the syscall 
> return probes evaluates to the system call’s return value" (p. 41). So, 
> the return value is passed in arg1 variable not in arg0.

ah, but in the chapter on the syscall provider, it says, "For return 
probes, both arg0 and arg1 contain the return value." (p. 223)

so that is not the mistake, I guess (or if, then it's the doc and not the 
script).

cheers
-- 
Michael Schuster
Sun Microsystems, Inc.



More information about the dtrace-discuss mailing list