From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64103C4338F for ; Fri, 13 Aug 2021 15:02:22 +0000 (UTC) Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 60B236113E for ; Fri, 13 Aug 2021 15:02:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 60B236113E Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=lists.lttng.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.lttng.org Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4GmRcC3sHMz9RJ; Fri, 13 Aug 2021 11:02:19 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1628866940; 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=BbMpwo7jAH42WQsIqcmyIz7+6xzr1gSzyYvqPNBethmB7+aAJ+bExfbxP/KES8WGW Lny7DT1dYrDMTXwGyHpaauEfckGY0PqX0zk9lmlIMZ9VM4h2pbsbZvAE30o3h1bu5K PoOkYPL2zCYI3dqT+fvoi6jhrVqmzRv1/kOq1iLSXeFJDFZO+y6UG2LeD8mkBLMMi1 jAAJAg8q4O3hJC7P054EwM487Ef6k+4ulinVAKHCp0+6FhcaqPPdfzHDquSCFRyfqf i6XR/WpUsAoXEdZ6VKJzFughcWPO79s7A9xhn2ey3Fr2ojSI5RyFxc+qFPtSeByGew FQ9gOjCta11sQ== 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==--