atomicity of formatted output?
Josh Stone
jistone@redhat.com
Sun Aug 5 20:33:00 GMT 2012
On 07/31/2012 10:10 PM, halcyonic@gmail.com wrote:
> Sorry, couldn't find this anywhere obvious in the documentation: are
> there any atomicity guarantees (even "best effort" ones) regarding
> formatted output from inside probes? It looks to me like output from
> different probes is being intermingled occasionally, even if every
> probe only uses a single printf()...would it help to remove newlines
> in the printf()?
IIRC, we do try to keep things line-buffered, at least if you are
outputting to a TTY. Can you provide an example script & workload where
you see this intermingling?
Josh
More information about the Systemtap
mailing list