This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: An external interface for _stp_print and _stp_printf in guru mode code?
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Siddhesh Poyarekar <siddhesh dot poyarekar at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Tue, 24 Apr 2012 17:43:14 -0400
- Subject: Re: An external interface for _stp_print and _stp_printf in guru mode code?
- References: <CAAHN_R28K3SOweTDQNy0VqaFuqkvTw97BB_S4STZjLBw_C2kcA@mail.gmail.com>
siddhesh.poyarekar wrote:
> [...] I figured out that systemtap translates the print and printf
> calls to _stp_print and _stp_printf. It seems to work well in my
> tests, but I'm guessing that the function name won't necessarily
> remain stable? [...]
For the near future, it should be fine. We foresee the eventual need
to change stp_print's invocation to change its buffering behavior, but
maybe even then, some backward-compatility may be preserved.
Could you propose a change to docs or code to codify this understanding?
- FChE