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: Flushing systemtap output without restarting (was: Re: Rapidly running systemtap causing hangs or oops)


On Thu, Jun 23, 2011 at 11:12:17AM +0100, Richard W.M. Jones wrote:
> It certainly looks like they run asynch, because my actual output
> (sometimes) looks like:
> 
> 1308822714.015994546: mount
> 1308822714.424888519: mount
> 1308822714.43626: module("ext2").statement("ext2_mount@fs/ext2/super.c:1378")
> 1308822714.43634: module("ext2").statement("ext2_mount@fs/ext2/super.c:1379")
> 1308822714.442957: module("ext2").statement("ext2_mount@fs/ext2/super.c:1378")
> 1308822714.442965: module("ext2").statement("ext2_mount@fs/ext2/super.c:1379")

Damn, it's the stupidest mistakes which are the easiest to
overlook.

In fact the ordering (by time) is *correct*.  It just appears wrong
because I didn't format the microsecond field with leading zeroes (%06d) ...

Thanks everyone, I will keep going down the timestamp route.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top


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