From: "lttng-dev" <lttng-dev@lists.lttng.org>
To: "lttng-dev" <lttng-dev@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/ 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 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!
Jérémie

Thanks,

Zach


_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev