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>
Thu, 5 Sep 2019 20:39:14 +0000 (16:39 -0400)
commit2259be0a613cdaf582107a07f7aee1682a304255
treea28741e73391470665a57c30e3c01d899890a44b
parentea0f4f56576d9662439a38dfdf1a94669aae90db
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.026228 seconds and 4 git commands to generate.