This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: binary tracing


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]