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: stptracer-20060828 has released.


Li Guanglei <guanglei@cn.ibm.com> writes:

> [...]  So we use _stp_printf() for its fancy printing format in
> trade of its slower speed compared with gBTI.  But the interface
> like gBTI imposes too much restriction on trace data format and the
> number of data items to be traced. Maybe we should find some places
> inside _stp_printf() for further performance improvement while still
> have the capability to print data freely.

To avoid the overhead inherent in dynamic interpretation of formatting
strings, we would need to gradually adopt a compiled approach.  The
translator is already parsing formatting strings.  It could emit
low-level equivalent code to write binary chunks directly.  The
runtime would only need to provide buffer-reservation/commit routines.

- FChE


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