Fix: perform a rotation to a null trace chunk on session destruction
[lttng-tools.git] / src / bin / lttng-sessiond / session.h
index 03d90c2c5ae8041b58572eb8329321bdfe303a74..6b7d63c3cba5084d9425f37732cc78277826d19c 100644 (file)
@@ -180,6 +180,7 @@ struct ltt_session {
        struct lttng_trace_chunk *chunk_being_archived;
        /* Current state of a rotation. */
        enum lttng_rotation_state rotation_state;
+       bool quiet_rotation;
        char *last_archived_chunk_name;
        LTTNG_OPTIONAL(uint64_t) last_archived_chunk_id;
        struct lttng_dynamic_array destroy_notifiers;
@@ -249,4 +250,6 @@ int session_close_trace_chunk(const struct ltt_session *session,
                struct lttng_trace_chunk *trace_chunk,
                const enum lttng_trace_chunk_command_type *close_command);
 
+bool session_output_supports_trace_chunks(const struct ltt_session *session);
+
 #endif /* _LTT_SESSION_H */
This page took 0.023138 seconds and 4 git commands to generate.