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-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=a2b988e2cc31f76365b600ca4e3a26604de00022;hp=dbfee52cc949c9ac51976ef4680f2e145aa1f1a9 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; /*