Beat Vontobel writes:
> Hi James,
> 
> thanx for your quick reply!
> 
> >     printf("pipe(%d, %d) in %s\n", arg0 & 0xffffffff, arg0 >> 32,
> 
> Unfortunately, the higher 32 bits are always 0 for me with this  
> approach, even though the lower 32 bits correctly hold the first of  
> the two file descriptors.

Sounds like a 32-bit kernel.  In that case, try using arg0 and arg1.

> Did Apple maybe break something when they  
> integrated your code into OS X? :) (I know they broke some other stuff  
> in dtrace, some of it intentionally... :) )

I don't think so.  The issue here is that syscall itself exposes
kernel implementation details, so it's highly dependent on how your
system is put together.

Check out:

  http://wikis.sun.com/display/DTrace/Stability

and try this:

  dtrace -ev -n syscall::pipe:return

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to