lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* [lttng-dev] Question about rotating session limitations
@ 2021-08-13  7:28 Kramer, Zach via lttng-dev
  2021-08-13 14:56 ` Jérémie Galarneau via lttng-dev
  0 siblings, 1 reply; 2+ messages in thread
From: Kramer, Zach via lttng-dev @ 2021-08-13  7:28 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 831 bytes --]

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)<https://lttng.org/man/1/lttng-enable-channel/v2.12>).
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?

Thanks,
Zach

[-- Attachment #1.2: Type: text/html, Size: 7890 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [lttng-dev] Question about rotating session limitations
  2021-08-13  7:28 [lttng-dev] Question about rotating session limitations Kramer, Zach via lttng-dev
@ 2021-08-13 14:56 ` Jérémie Galarneau via lttng-dev
  0 siblings, 0 replies; 2+ messages in thread
From: Jérémie Galarneau via lttng-dev @ 2021-08-13 14:56 UTC (permalink / raw)
  To: Kramer, Zach; +Cc: lttng-dev, Philippe Proulx


[-- Attachment #1.1: Type: text/plain, Size: 1510 bytes --]

> 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/ |
> 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! 
Jérémie 

> Thanks,

> Zach

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

[-- Attachment #1.2: Type: text/html, Size: 4770 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-13 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13  7:28 [lttng-dev] Question about rotating session limitations Kramer, Zach via lttng-dev
2021-08-13 14:56 ` Jérémie Galarneau via lttng-dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).