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: stpd issues


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





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