Thanks Chad.

> The types for arg0, arg1, etc., are int64_t.  In your
> case, you're
> trying to print a negative 32-bit value, which is a
> positive 64-bit
> value, thus the need for the cast.

The args are always int64_t?  Even if the probe definition clearly states what 
the type is?  Or in my case, even if I cast it inside the probe definition?

I see that now in the documentation for Variables, but I guess I'd never run 
into it before.  I've used the args many times, but generally as strings.

Thanks, 

- Matt
-- 
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to