From a2b988e2cc31f76365b600ca4e3a26604de00022 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 12 Dec 2019 13:03:43 -0500 Subject: [PATCH] sessiond: document effect of rotated_after_last_stop on clear MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Mathieu Desnoyers Change-Id: I81e758aee375f297647bcf9c9a469f867799358a Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/session.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; /* -- 2.34.1