binary tracing

Tom Zanussi zanussi@us.ibm.com
Fri Apr 7 17:08:00 GMT 2006


Jian Gui writes:
 > > The attached tarball contains a patch to systemtap - since it doesn't
 > > use bin_write(), it doesn't include bin_write.c, and it doesn't
 > > actually make any changes to the runtime other than to comment out a
 > > vlog print that was getting in the way of parsing the data in stpd.
 > >
 > You mentioned to let the translator generate the corresponding tracing
 > code and not to use bin_write(). Are you considering to totally remove
 > bin_write() interface from runtime? or keep it but add the ability to
 > do binary tracing at script level?

No, I wasn't suggesting removing bin_write() - in fact I think Martin
is already rolling it in to the runtime.

I was considering this as an optimization - if there are only binary
specifiers in the printf() statement, the translator might decide to
generate code to write the data into the buffer directly instead of
calling bin_write() to do it.

Tom




More information about the Systemtap mailing list