<font size=2 face="sans-serif">Indeed the path is <u>not</u> different.
There is no date-part in the path. I simply have ~/lttng-traces/ust/uid/<uid>/64-bit/
...</font>
<br>
<br><font size=2 face="sans-serif">Please remember that I use 2.2.0rc2
and not the latest master. Unfortunately, I must retain some level of stability,
so if the addition of the date part in the path for per-uid buffers is
later than 2.2.0rc2 - that would be the cause of the difference.</font>
<br>
<br><font size=2 face="sans-serif">Amit</font>
<br>
<br><font size=2 color=#000080 face="sans-serif">Amit Margalit</font>
<br><font size=2 color=#808000 face="sans-serif">IBM XIV </font><font size=2 face="sans-serif">-
<i>Storage Reinvented</i></font>
<br><font size=2 face="sans-serif">XIV-NAS Development Team</font>
<br><font size=2 face="sans-serif">Tel. 03</font><font size=2 face="Arial">-689-7774</font>
<br><font size=2 face="Arial">Fax. 03-689-7230</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">David Goulet <dgoulet@efficios.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Amit Margalit/Israel/IBM@IBMIL</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc:
</font><font size=1 face="sans-serif">lttng-dev@lists.lttng.org</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">06/12/2013 05:51 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [lttng-dev]
Will LTTng overwrite existing trace files after reboot, or continue where
the previous instance left off?</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>It's possible yes if the session path is exactly the
same but this is why we add<br>
the date and time to the session directory so we don't end up overwriting
old<br>
traces with the same session name.<br>
<br>
Can you tell me what is the full path of the session directory. It should
look<br>
something like (with some variations).<br>
<br>
~/lttng-traces/fo-20130612-104743/ust/uid/1000/64-bit<br>
<br>
Upon reboot, can you confirm that the path is different ?<br>
<br>
Thanks!<br>
David<br>
<br>
Amit Margalit:<br>
> Hi,<br>
> <br>
> My situation is this:<br>
> <br>
> lttng-sessiond --no-kernel<br>
> lttng-create foo<br>
> lttng enable-channel channel0 -u --tracefile-size 67108864 --tracefile-count
13<br>
> --buffers-uid --switch-timer 1000000 --num-subbuf 32<br>
> lttng enable-event -u -a<br>
> lttng start foo<br>
> <br>
> Now this runs for a while collecting traces. I've run du -s on the
trace<br>
> directory, and saw that lttng-traces/ takes 2376KB.<br>
> <br>
> The system was reboot, and upon startup, the exact same scenario as
above is<br>
> reproduced.<br>
> <br>
> When I ran du to see the size of the lttng-traces/ directory, it was
1740KB.<br>
> <br>
> Can you please help explain this? Is LTTng overwriting the existing
trace files?<br>
> <br>
> Thanks,<br>
> <br>
> Amit Margalit<br>
> IBM XIV - /Storage Reinvented/<br>
> XIV-NAS Development Team<br>
> Tel. 03-689-7774<br>
> Fax. 03-689-7230<br>
> <br>
> <br>
> This body part will be downloaded on demand.<br>
<br>
</font></tt>
<br>