This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: stpd issues
- From: Martin Hunt <hunt at redhat dot com>
- To: Hien Nguyen <hien at us dot ibm dot com>
- Cc: Thomas Zanussi <trz at us dot ibm dot com>, SystemTAP <systemtap at sources dot redhat dot com>
- Date: Mon, 22 Aug 2005 12:00:27 -0700
- Subject: Re: stpd issues
- Organization: Red Hat Inc.
- References: <43065321.1060902@us.ibm.com>
Rereading your message, I realized I hadn't answered this question.
On Fri, 2005-08-19 at 14:46 -0700, Hien Nguyen wrote:
> With #define STP_RELAYFS.
> No problem loading the module, but there is no stdout until terminating
> stpd with Ctrl-C. It looks like data bufferred but not flushed out to
> stdout.
Relayfs data arrives in big per-cpu chunks. As the chunks arrive they
are saved to per-cpu datafiles. When data collection stops (after ^C),
stpd merges all the datafiles together and writes to stdout. It doesn't
really make sense to stream data to stdout as it arrives for relayfs
because it will be out-of-order.
Martin