From: Mathieu Desnoyers Date: Thu, 12 Dec 2019 18:03:43 +0000 (-0500) Subject: sessiond: document effect of rotated_after_last_stop on clear X-Git-Tag: v2.12.0-rc1~123 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a2b988e2cc31f76365b600ca4e3a26604de00022;p=lttng-tools.git sessiond: document effect of rotated_after_last_stop on clear Signed-off-by: Mathieu Desnoyers Change-Id: I81e758aee375f297647bcf9c9a469f867799358a Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/session.h b/src/bin/lttng-sessiond/session.h index 606c42269..883a26554 100644 --- a/src/bin/lttng-sessiond/session.h +++ b/src/bin/lttng-sessiond/session.h @@ -172,7 +172,8 @@ struct ltt_session { * Keep a state if this session was rotated after the last stop command. * We only allow one rotation after a stop. At destroy, we also need to * know if a rotation occurred since the last stop to rename the current - * chunk. + * chunk. After a stop followed by rotate, all subsequent clear + * (without prior start) will succeed, but will be effect-less. */ bool rotated_after_last_stop; /*