[lttng-dev] Question about rotating session limitations

Jérémie Galarneau jeremie.galarneau at efficios.com
Fri Aug 13 10:56:19 EDT 2021

> From: "lttng-dev" <lttng-dev at lists.lttng.org>
> To: "lttng-dev" <lttng-dev at lists.lttng.org>
> Sent: Friday, August 13, 2021 3:28:14 AM
> Subject: [lttng-dev] Question about rotating session limitations

> Hello,

> On [ https://lttng.org/man/1/lttng-rotate/v2.12/ |
> https://lttng.org/man/1/lttng-rotate/v2.12/ ] one of the limitations is listed
> as:

> The lttng rotate command only works when:

> · No channel was created with a configured trace file count or size limit (see
> the --tracefile-size and --tracefile-count options in [
> https://lttng.org/man/1/lttng-enable-channel/v2.12 | lttng-enable-channel(1) ]
> ).

> However on v2.12.1 I am able to:

>     1. Create a userspace session
>     2. Create a channel w/ configured trace file count and size limit
>     3. Start tracing
>     4. lttng rotate

> Within each chunk these restrictions are respected.

> Therefore my question is what does this limitation actually mean? Is it more so
> in the direction that the archives will not respect these limits because the
> chunks accumulate? Or am I missing the point entirely?

Hi Zach, 

I think it's simply a documentation error, probably on my part from misadvising Philippe. 
I'll open a change against the manual page. 

Thanks for reporting this! 

> Thanks,

> Zach

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20210813/ec23b1a2/attachment.htm>

More information about the lttng-dev mailing list