Depending on the ISA that you''re on, you may have extraneous garbage
in the
high bits. Try casting arg0 to an int: trace((int)arg0);
Adam
On Oct 1, 2008, at 6:23 AM, tester wrote:
> I am trying to find uid from getpwuid_r function; here is what I
> tried so far
>
> dtrace -n ''pid5734:libc.so.1:getpwuid_r:entry
{trace(arg0)}''
>
> the result is a big number that doesn''t match any uid''s;
am I doing
> anything wrong? the process in question is svc.startd. Is there a
> way to know if there is a legitimate value in the arguments?
>
> also is there is any difference in using libc vs libc.so.1 in the
> cmd above?
>
> Thanks
> --
> This message posted from opensolaris.org
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss at opensolaris.org
--
Adam Leventhal, Fishworks http://blogs.sun.com/ahl