[dtrace-discuss] Quick quesion

Vivek Joshi techvbj at gmail.com
Sun Jul 29 06:30:24 PDT 2007


Hi,

How can I print the structure contents using DTrace ...

For example, here is the truss output while execution of my program,
/90:    ioctl(12, 0x04C9, 0xFE97B83C)                   = 0
/90:    ioctl(12, 0x04C9, 0xFE97B924)                   Err#5 EIO

The third field above is 'struct uscsi_cmd'. I am not sure why the
second ioctl is failing, I want to confirm that scsi cdb is formed
correctly in this case. How can I print this structure in parallel
while running the program?

Thanks for the inputs.

Cheers,
Vivek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20070729/9269d954/attachment.html 


More information about the dtrace-discuss mailing list