[dtrace-discuss] Arg1 doesn't hold return value in pid provider?
Vladimir Marek
Vladimir.Marek at Sun.COM
Wed Jun 25 23:33:43 PDT 2008
> Functions that end in a tail-call to another function can report an
> incorrect return value in the arg1 variable. Take a look at the
> disassembly at the location where you're seeing the apparently invalid
> return values to confirm that it's a tail-call.
Aaah, that exactly happened to me half a year ago, on the same t_*
functions. And I forgot it in the meantime. Would it be sensible to have
dtrace which would warn you when it detects tail-call optimized function
?
--
Vlad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 193 bytes
Desc: not available
Url : http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20080626/b3da97fb/attachment.bin
More information about the dtrace-discuss
mailing list