send the rotate pending to the relay
[deliverable/lttng-tools.git] / src / bin / lttng-sessiond / session.h
index 41a894079e5244b131b9c6cc76c1f18c9f8bfd5b..25f0927f7c0879e42a2b8e14d8c196fd715e5854 100644 (file)
@@ -135,14 +135,13 @@ struct ltt_session {
         * Number of session rotation for this session.
         */
        uint64_t rotate_count;
-       unsigned int rotate_pending:1;
+       bool rotate_pending;
+       bool rotate_pending_relay;
        enum lttng_rotate_status rotate_status;
        /*
         * Number of channels waiting for a rotate.
         * When this number reaches 0, we can handle the rename of the chunk
         * folder and inform the client that the rotate is finished.
-        *
-        * TODO: replace rotate_pending checks by that.
         */
        unsigned int nr_chan_rotate_pending;
        struct ltt_session_chunk rotation_chunk;
This page took 0.025204 seconds and 5 git commands to generate.