Indeed the path is not different. There is no date-part in the path. I simply have ~/lttng-traces/ust/uid/<uid>/64-bit/ ...
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. Amit Amit Margalit IBM XIV - Storage Reinvented XIV-NAS Development Team Tel. 03-689-7774 Fax. 03-689-7230 From: David Goulet <[email protected]> To: Amit Margalit/Israel/IBM@IBMIL Cc: [email protected] Date: 06/12/2013 05:51 PM Subject: Re: [lttng-dev] Will LTTng overwrite existing trace files after reboot, or continue where the previous instance left off? It's possible yes if the session path is exactly the same but this is why we add the date and time to the session directory so we don't end up overwriting old traces with the same session name. Can you tell me what is the full path of the session directory. It should look something like (with some variations). ~/lttng-traces/fo-20130612-104743/ust/uid/1000/64-bit Upon reboot, can you confirm that the path is different ? Thanks! David Amit Margalit: > 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 > > > This body part will be downloaded on demand.
_______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
