[lttng-dev] Will LTTng overwrite existing trace files after reboot, or continue where the previous instance left off?

Amit Margalit AMITM at il.ibm.com
Wed Jun 12 10:34:11 EDT 2013


Hi,

My situation is this:

lttng-sessiond --no-kernel
lttng-create foo
lttng enable-channel channel0 -u --tracefile-size 67108864 
--tracefile-count 13 --buffers-uid --switch-timer 1000000 --num-subbuf 32
lttng enable-event -u -a
lttng start foo

Now this runs for a while collecting traces. I've run du -s on the trace 
directory, and saw that lttng-traces/ takes 2376KB.

The system was reboot, and upon startup, the exact same scenario as above 
is reproduced.

When I ran du to see the size of the lttng-traces/ directory, it was 
1740KB.

Can you please help explain this? Is LTTng overwriting the existing trace 
files?

Thanks,

Amit Margalit
IBM XIV - Storage Reinvented
XIV-NAS Development Team
Tel. 03-689-7774
Fax. 03-689-7230
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130612/07bcf910/attachment.html>


More information about the lttng-dev mailing list