<div dir="ltr">Hi all,<div><br></div><div>I recently encountered a situation whereby tracing in a tight loop was generating a very large number of events, thus resulting in quite a few discarded events. To resolve this I attempted to create a new channel with a larger buffer size as follows:</div><div><br></div><div><div>lttng create cc_session -o $trace_output_path</div><div>lttng enable-channel -u custom-channel--subbuf-size 4M</div><div>lttng enable-event -u -c custom-channel cc_provider:*</div><div>lttng start</div><div><br></div><div>/run/target</div><div><br></div><div>lttng stop</div><div>lttng destroy</div></div><div><br></div><div>After running the above the trace is empty. However, if I change the size to 1M or 2M it works fine. Is there a restriction on the sub-buffer size? I also notice a similar behaviour if I increase the number of subbuffers above 8 while using a 1M buffer size. </div><div><br></div><div>I'm still losing around 80k events at a sub-buffer size of 2M (down from 1.2 million at the default buffer size buffer size of 4096) so ideally I'd like to use a larger buffer size (assuming it's possible).</div><div><br></div><div>Some potentially relevant details:</div><div>* I'm running the target inside docker, version 1.10.3</div><div>* The container is Ubuntu 14.04</div><div>* I'm using LTTng from git HEAD</div><div><br></div><div>If I can provide any other useful information let me know!</div><div><br></div><div>Thanks,</div><div>Sean</div></div>