On 04/13/11 06:18 PM, Adam Leventhal wrote:

<snip>

There's nothing particularly convenient, but you could just print out
your array by hand: %02x%02x... To simplify it a little, you could cast
it to a uint64_t *:

   printf("%16x%16x", ((uint64_t *)this->oinfo.xxx_id)[0], ((uint64_t
*)this->oinfo.xxx_id)[1]);

I hope that helps.

Yes, this should do it for my case. Thanks.

But I also wonder what would you say about e.g. adding new pragma/option to change the behavior of tracemem().


v.
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to