<div dir="ltr"><div>Julien,</div>thanks, I was mislead by the 2.7 documentation saying:<div>"...<span style="color:rgb(26,26,26);font-family:'Open Sans',Frutiger,'Frutiger Linotype',Univers,Calibri,'Gill Sans','Gill Sans MT','Myriad Pro',Myriad,'DejaVu Sans Condensed','Liberation Sans','Nimbus Sans L',Tahoma,Geneva,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:16px;line-height:27.2px;background-color:rgb(253,253,253)">parameters of </span><code class="" style="margin:0px 1px;padding:2px 5px;border:0px;font-stretch:inherit;font-size:14.4px;line-height:27.2px;font-family:'Andale Mono WT','Andale Mono','Bitstream Vera Sans Mono','Liberation Mono','Nimbus Mono L','Ubuntu Mono',Monaco,Consolas,'Lucida Console','Lucida Sans Typewriter','Courier New',Courier,monospace;vertical-align:baseline;white-space:nowrap;color:rgb(26,26,26);background-color:rgba(0,0,0,0.0470588)">enable-channel</code><span style="color:rgb(26,26,26);font-family:'Open Sans',Frutiger,'Frutiger Linotype',Univers,Calibri,'Gill Sans','Gill Sans MT','Myriad Pro',Myriad,'DejaVu Sans Condensed','Liberation Sans','Nimbus Sans L',Tahoma,Geneva,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:16px;line-height:27.2px;background-color:rgb(253,253,253)"> are </span><code class="" style="margin:12px 1px 0px;padding:2px 5px;border:0px;font-stretch:inherit;font-size:14.4px;line-height:27.2px;font-family:'Andale Mono WT','Andale Mono','Bitstream Vera Sans Mono','Liberation Mono','Nimbus Mono L','Ubuntu Mono',Monaco,Consolas,'Lucida Console','Lucida Sans Typewriter','Courier New',Courier,monospace;vertical-align:baseline;white-space:nowrap;color:rgb(26,26,26);background-color:rgba(0,0,0,0.0470588)">--tracefile-size</code><span style="color:rgb(26,26,26);font-family:'Open Sans',Frutiger,'Frutiger Linotype',Univers,Calibri,'Gill Sans','Gill Sans MT','Myriad Pro',Myriad,'DejaVu Sans Condensed','Liberation Sans','Nimbus Sans L',Tahoma,Geneva,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:16px;line-height:27.2px;background-color:rgb(253,253,253)">and </span><code class="" style="margin:12px 1px 0px;padding:2px 5px;border:0px;font-stretch:inherit;font-size:14.4px;line-height:27.2px;font-family:'Andale Mono WT','Andale Mono','Bitstream Vera Sans Mono','Liberation Mono','Nimbus Mono L','Ubuntu Mono',Monaco,Consolas,'Lucida Console','Lucida Sans Typewriter','Courier New',Courier,monospace;vertical-align:baseline;white-space:nowrap;color:rgb(26,26,26);background-color:rgba(0,0,0,0.0470588)">--tracefile-count</code><span style="color:rgb(26,26,26);font-family:'Open Sans',Frutiger,'Frutiger Linotype',Univers,Calibri,'Gill Sans','Gill Sans MT','Myriad Pro',Myriad,'DejaVu Sans Condensed','Liberation Sans','Nimbus Sans L',Tahoma,Geneva,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:16px;line-height:27.2px;background-color:rgb(253,253,253)">, which respectively limit the size of each trace file and the their count for a given channel. "</span></div><div><span style="color:rgb(26,26,26);font-family:'Open Sans',Frutiger,'Frutiger Linotype',Univers,Calibri,'Gill Sans','Gill Sans MT','Myriad Pro',Myriad,'DejaVu Sans Condensed','Liberation Sans','Nimbus Sans L',Tahoma,Geneva,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:16px;line-height:27.2px;background-color:rgb(253,253,253)">In this case the tracefile-size option should be removed, will it become useful in the future releases or has a more subtle use? </span></div><div class="gmail_extra"><br></div><div class="gmail_extra">thanks, John</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 28, 2016 at 6:21 AM, Julien Desfossez <span dir="ltr"><<a href="mailto:jdesfossez@efficios.com" target="_blank">jdesfossez@efficios.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> Hi,<br>
> it looks like for the "enable-channel" command, "tracefile-size" option<br>
> doesn't take effect, bellow are all the options, the resulted files have<br>
> the actual size the same as the size specified by subbuf-size option:<br>
><br>
> # lttng -V<br>
> lttng (LTTng Trace Control) 2.7.1 - Herbe à Détourne<br>
><br>
> $ lttng enable-channel chan_name -u -s session_name --discard<br>
> --num-subbuf 8<br>
> --subbuf-size 32M --tracefile-size 8K --tracefile-count 8<br>
> --buffers-pid<br>
<br>
</span>Yes, that is the expected behaviour, we work with packets (sub-buffers),<br>
so the smallest unit we can store is the subbuf-size.<br>
<br>
With 2.7.3 I get this warning when I try your command:<br>
Warning: Tracefile size rounded up from (8192) to subbuffer size (33554432)<br>
<span class="HOEnZb"><font color="#888888"><br>
Julien<br>
</font></span></blockquote></div><br></div></div>