From: Josh Stone <jistone@redhat.com>
To: halcyonic@gmail.com
Cc: systemtap@sourceware.org
Subject: Re: atomicity of formatted output?
Date: Sun, 05 Aug 2012 20:33:00 -0000 [thread overview]
Message-ID: <501ED893.9000603@redhat.com> (raw)
In-Reply-To: <2788A1A0-479D-4244-BD2F-EEDA0DC48C89@eecs.harvard.edu>
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
next prev parent reply other threads:[~2012-08-05 20:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 5:10 halcyonic
2012-08-05 20:33 ` Josh Stone [this message]
2012-08-09 2:20 ` halcyonic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=501ED893.9000603@redhat.com \
--to=jistone@redhat.com \
--cc=halcyonic@gmail.com \
--cc=systemtap@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).