Fix: don't perform an automatic session rotation in snapshot mode
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Aug 2019 18:27:24 +0000 (14:27 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 9 Aug 2019 15:28:43 +0000 (11:28 -0400)
commitb5893d8e91f64257e58a50c7f5b413a5b31cf076
tree20090e955c59591b25a1ab0e2c658c71850d2f9c
parentc8f61fd42dad6e45ff82402089f99af568de5984
Fix: don't perform an automatic session rotation in snapshot mode

An automatic session rotation is performed on destruction if more than
one trace chunk was created during the lifetime of a session. This is
not a good criterion to use in no-output/snapshot mode as multiple
trace chunks may have been created during a session's lifetime.

The "output_traces" flag is checked explicitly to prevent an automatic
session rotation from happenning on destroy.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
This page took 0.02519 seconds and 4 git commands to generate.