<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"lttng-dev" <lttng-dev@lists.lttng.org><br><b>To: </b>"lttng-dev" <lttng-dev@lists.lttng.org><br><b>Sent: </b>Friday, August 13, 2021 3:28:14 AM<br><b>Subject: </b>[lttng-dev] Question about rotating session limitations<br></blockquote></div><div><style>/*<![CDATA[*/p.MsoNormal, li.MsoNormal, div.MsoNormal {
        margin: 0.0cm;
        font-size: 11.0pt;
        font-family: Calibri , sans-serif;
}
a:link, span.MsoHyperlink {
        color: rgb(5,99,193);
        text-decoration: underline;
}
code {
        font-family: "Courier New";
}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
        margin-top: 0.0cm;
        margin-right: 0.0cm;
        margin-bottom: 0.0cm;
        margin-left: 36.0pt;
        font-size: 11.0pt;
        font-family: Calibri , sans-serif;
}
span.s {
}
*.MsoChpDefault {
        font-family: Calibri , sans-serif;
}
div.WordSection1 {
        page: WordSection1;
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
* {
}
ol {
        margin-bottom: 0.0cm;
}
ul {
        margin-bottom: 0.0cm;
}
/*]]>*/</style></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
<div class="WordSection1">
<p class="MsoNormal"><span lang="DE">Hello,</span></p>

<p class="MsoNormal"><span lang="EN-US">On <a href="https://lttng.org/man/1/lttng-rotate/v2.12/" target="_blank" rel="nofollow noopener noreferrer">
https://lttng.org/man/1/lttng-rotate/v2.12/</a> one of the limitations is listed as:</span></p>
<p style="margin-left:18pt">The <code><span style="font-size:10pt">lttng rotate</span></code> command only works when:</p>
<p style="margin-left:54pt;text-indent:-18pt"><span style="font-family:'symbol'">·</span>No channel was created with a configured trace file count or size limit (see the
<code><span style="font-size:10pt">--tracefile-size</span></code> and <code><span style="font-size:10pt">--tracefile-count</span></code> options in
<a href="https://lttng.org/man/1/lttng-enable-channel/v2.12" target="_blank" rel="nofollow noopener noreferrer">lttng-enable-channel<span class="s"><span style="color:blue">(1)</span></span></a>).
</p>
<p class="MsoNormal"><span lang="EN-US">However on v2.12.1 I am able to:</span></p>
<ol style="margin-top:0cm" type="1" start="1"><li class="MsoListParagraph" style="margin-left:0cm"><span lang="EN-US">Create a userspace session</span></li><li class="MsoListParagraph" style="margin-left:0cm"><span lang="EN-US">Create a channel w/ configured trace file count and size limit</span></li><li class="MsoListParagraph" style="margin-left:0cm"><span lang="EN-US">Start tracing</span></li><li class="MsoListParagraph" style="margin-left:0cm"><span lang="EN-US">lttng rotate</span></li></ol>

<p class="MsoNormal"><span lang="EN-US">Within each chunk these restrictions are respected.</span></p>

<p class="MsoNormal"><span lang="EN-US">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?</span></p>
</div></blockquote><div><br></div><div>Hi Zach,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>I think it's simply a documentation error, probably on my part from misadvising Philippe.<br data-mce-bogus="1"></div><div>I'll open a change against the manual page.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks for reporting this!<br data-mce-bogus="1"></div><div>Jérémie<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Thanks,</span></p>
<p class="MsoNormal"><span lang="EN-US">Zach</span></p>
</div>

<br>_______________________________________________<br>lttng-dev mailing list<br>lttng-dev@lists.lttng.org<br>https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<br></blockquote></div></div></body></html>