https://bugs.lttng.org/https://bugs.lttng.org/themes/lttng/favicon/a.ico?14249722912014-05-14T15:43:47ZLTTng bugs repositoryLTTng-tools - Bug #793: lttng stop never finishes when using overwrite mode (not in snapshot mode)https://bugs.lttng.org/issues/793?journal_id=21832014-05-14T15:43:47ZDavid Goulet
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Confirmed</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Target version</strong> changed from <i>2.5</i> to <i>2.3</i></li></ul><p>There seems to be an issue with the --overwrite alone where in 2.4 and master, --snapshot is used for the purpose of flight recorder. One thing certain is that you can't use this option with a session with an output defined thus the enable-channel should have fail because the session is not set in --no-output.</p>
<p>I'm also going to link this one with the open issue for the deprecation of --no-output</p> LTTng-tools - Bug #793: lttng stop never finishes when using overwrite mode (not in snapshot mode)https://bugs.lttng.org/issues/793?journal_id=22202014-05-22T16:22:03ZDavid Goulet
<ul></ul><p>After investigation, the flush/stop of the kernel in overwrite mode does not actually write data on disk (not even the padding) thus the "output_written" of the stream always equal 0 which keeps the data pending in a loop waiting for at least some data.</p>
<p>A destroy fixes the issue and provide a readable trace but only stops actually makes the trace unreadable.</p> LTTng-tools - Bug #793: lttng stop never finishes when using overwrite mode (not in snapshot mode)https://bugs.lttng.org/issues/793?journal_id=22272014-05-23T14:45:18ZDavid Goulet
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="Fix: deny overwrite mode and num subbuf less than 2 Also fixed in UST and modules with commit: ..." href="https://bugs.lttng.org/projects/lttng-tools/repository/lttng-tools/revisions/33fbd46910b681a74b2493cff8c86979ec35ccc9">33fbd46910b681a74b2493cff8c86979ec35ccc9</a>.</p>