[lttng-dev] Trace rotation across sessions

Jérémie Galarneau jeremie.galarneau at efficios.com
Tue Mar 18 11:55:41 EDT 2014


On Tue, Mar 18, 2014 at 10:50 AM, Amit Margalit <AMITM at il.ibm.com> wrote:
> So - how do I get this kind of thing on the wishlist?
>

You can either open a feature request on the bug tracker[1] or
contribute it yourself.

Regards,
Jérémie

[1] https://bugs.lttng.org

> Amit Margalit
> IBM XIV - Storage Reinvented
> XIV-NAS Development Team
> Tel. 03-689-7774
> Fax. 03-689-7230
>
>
>
> From:        Jérémie Galarneau <jeremie.galarneau at efficios.com>
> To:        Amit Margalit/Israel/IBM at IBMIL
> Cc:        lttng-dev <lttng-dev at lists.lttng.org>
> Date:        03/18/2014 04:42 PM
> Subject:        Re: [lttng-dev] Trace rotation across sessions
> Sent by:        jeremie.galarneau at gmail.com
> ________________________________
>
>
>
> On Tue, Mar 18, 2014 at 10:28 AM, Amit Margalit <AMITM at il.ibm.com> wrote:
>> It may be what I am looking for.
>>
>> Are you saying that lttng-sessiond will pick up the session from whereever
>> it is and continue it?
>
> No. As far as I know, the session daemon will simply overwrite the files.
>
> Jérémie
>
>>
>> BTW, I am using only UST for now.
>>
>> Amit Margalit
>> IBM XIV - Storage Reinvented
>> XIV-NAS Development Team
>> Tel. 03-689-7774
>> Fax. 03-689-7230
>>
>>
>>
>> From:        Jérémie Galarneau <jeremie.galarneau at efficios.com>
>> To:        Amit Margalit/Israel/IBM at IBMIL
>> Cc:        lttng-dev <lttng-dev at lists.lttng.org>
>> Date:        03/18/2014 04:19 PM
>> Subject:        Re: [lttng-dev] Trace rotation across sessions
>> Sent by:        jeremie.galarneau at gmail.com
>> ________________________________
>>
>>
>>
>> On Tue, Mar 18, 2014 at 4:52 AM, Amit Margalit <AMITM at il.ibm.com> wrote:
>>> Hello,
>>>
>>> Our system has a running session that stays on continuously.
>>>
>>> Occasionally, our customer will upgrade the software, leading to a
>>> reboot,
>>> which in turn means we will have a new session.
>>>
>>> Is there any way to make LTTng aware of the total size of all sessions
>>> (current and past) and simply rotate files to keep the entire set of
>>> traces
>>> under a size limit?
>>>
>>
>> The only way I can see this working is by recreating the same session
>> configuration (with the same output destination) and using lttng
>> enable-channel's -C (tracefile-size) and -W (tracefile-count) options
>> to define an upper bound on each trace's size.
>>
>> Is this what you are looking for?
>>
>> Jérémie
>>
>>> Thanks,
>>>
>>> Amit Margalit
>>> IBM XIV - Storage Reinvented
>>> XIV-NAS Development Team
>>> Tel. 03-689-7774
>>> Fax. 03-689-7230
>>> _______________________________________________
>>> lttng-dev mailing list
>>> lttng-dev at lists.lttng.org
>>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>>>
>>
>>
>>
>> --
>> Jérémie Galarneau
>> EfficiOS Inc.
>> http://www.efficios.com
>>
>>
>
>
>
> --
> Jérémie Galarneau
> EfficiOS Inc.
> http://www.efficios.com
>
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list