From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id OcEjKnyJFmHGGAAAWB0awg (envelope-from ) for ; Fri, 13 Aug 2021 11:02:20 -0400 Received: by simark.ca (Postfix, from userid 112) id 9B9301EDFB; Fri, 13 Aug 2021 11:02:20 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id A0FD21E4A3 for ; Fri, 13 Aug 2021 11:02:19 -0400 (EDT) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4GmRcB6KBPz9RH; Fri, 13 Aug 2021 11:02:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1628866939; bh=HQlo+hY781KGBXjam4sfzqUCFLHIKm8pw1fJuiiZ95E=; h=Date:To:Cc:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=TxA4dnekAnbQw+N8R7N3B5kK8Rmg4JQIrUcMJJ5q9dTmMdgYPR6vWF6GZBFnJmeSd XnG3jgUZXwfahgaAAi0yaDU3yb/ccDZtmI82eYFMhfFCBVTx8GwwELACwrPBvSOnZB 6xxKCuDRsMBTXuBjO8JdY7/k2bfwqFcc15kdfM2yX2oj80nQYvSIXkMZMIJoabB1aW cSKTqUmCBOGK3oqY3OxeaxsyFCFhDETTaRZbqbVFw4kbQxMUPA1JD8Z6s5+XGvbpHR qBbcaM8JLgroenSS36E2gHQub5iGw9XZ0R3hxgCuWEGjvSyJuTLdb1XIDfyj31RbQ2 29Y18TwdZwPvg== Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lists.lttng.org (Postfix) with ESMTPS id 4GmRc933Mrz9RG for ; Fri, 13 Aug 2021 11:02:17 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 43E8D364EAB; Fri, 13 Aug 2021 10:56:24 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id UJ2Iic-tRDFc; Fri, 13 Aug 2021 10:56:19 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 528EE364FB7; Fri, 13 Aug 2021 10:56:19 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 528EE364FB7 X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3FIPseYbe30C; Fri, 13 Aug 2021 10:56:19 -0400 (EDT) Received: from mail03.efficios.com (mail03.efficios.com [167.114.26.124]) by mail.efficios.com (Postfix) with ESMTP id 40727364B6B; Fri, 13 Aug 2021 10:56:19 -0400 (EDT) Date: Fri, 13 Aug 2021 10:56:19 -0400 (EDT) To: "Kramer, Zach" Cc: lttng-dev , Philippe Proulx Message-ID: <1088457655.14235.1628866579209.JavaMail.zimbra@efficios.com> In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [167.114.26.124] X-Mailer: Zimbra 8.8.15_GA_4101 (ZimbraWebClient - FF90 (Linux)/8.8.15_GA_4059) Thread-Topic: Question about rotating session limitations Thread-Index: AdeQFBe4MiBffDDMSoGgI23a8d3kQ95ixdaP Subject: Re: [lttng-dev] Question about rotating session limitations X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?J=C3=A9r=C3=A9mie_Galarneau_via_lttng-dev?= Reply-To: =?utf-8?B?SsOpcsOpbWll?= Galarneau Content-Type: multipart/mixed; boundary="===============0934465056189138407==" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" --===============0934465056189138407== Content-Type: multipart/alternative; boundary="=_20c27c58-7aa4-49a4-a726-6e10603a13c7" --=_20c27c58-7aa4-49a4-a726-6e10603a13c7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > From: "lttng-dev" > To: "lttng-dev" > 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 l= isted > as: > The lttng rotate command only works when: > =C2=B7 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 m= ore 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,=20 I think it's simply a documentation error, probably on my part from misadvi= sing Philippe.=20 I'll open a change against the manual page.=20 Thanks for reporting this!=20 J=C3=A9r=C3=A9mie=20 > Thanks, > Zach > _______________________________________________ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev --=_20c27c58-7aa4-49a4-a726-6e10603a13c7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable



From: "lttng-dev" <lt= tng-dev@lists.lttng.org>
To: "lttng-dev" <lttng-dev@lists.l= ttng.org>
Sent: Friday, August 13, 2021 3:28:14 AM
Subje= ct: [lttng-dev] Question about rotating session limitations

Hello,

On https://lttng.org/man/1/lttng-rotate/v2.12/ one of the limitations is l= isted as:

The lttn= g rotate command only works when:

=C2=B7No channel was created with a configured trace file = count or size limit (see the --tracefile-size and --tracefile-count options i= n lttng-enable-channel(1)).

However on v2.12.1 I am able to= :

  1. Create a userspace s= ession
  2. = Create a channel w/ configured trace file count and si= ze limit
  3. Start tracing
  4. lttng rotate
  5. =

Within each chunk these restric= tions are respected.

Therefore my question is what d= oes 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 documenta= tion error, probably on my part from misadvising Philippe.
I'll open a change against the manual page.

Thanks for repor= ting this!
J=C3=A9r=C3=A9mie

Thanks,

Zach


_______________________________________________
lttng-dev mailing li= st
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/= listinfo/lttng-dev
--=_20c27c58-7aa4-49a4-a726-6e10603a13c7-- --===============0934465056189138407== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev --===============0934465056189138407==--