Binary output with byte granularity

Mike Mason mmlnx@us.ibm.com
Mon Oct 15 19:06:00 GMT 2007


Is there a way in SystemTap to output binary data with byte granularity?  The only thing I've found is _stp_print_binary() in embedded C.  That outputs in 64-bit chunks.  What I'd like to do is output a buffer of raw binary data that may not be on a 64-bit boundary.  In this case, it's to generate wireshark-compatible packet data from cifs.

Thanks,
Mike



More information about the Systemtap mailing list