Save, restore and list the rotation parameters
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index 5b7cc089ec4d9ec5ccf857bc8f67fd5fab2b7698..b8278bbe0a2abb542d6945b3e0eee70631458e46 100644 (file)
@@ -103,7 +103,10 @@ enum lttcomm_sessiond_command {
        LTTNG_UNREGISTER_TRIGGER            = 44,
        LTTNG_ROTATE_SESSION                = 45,
        LTTNG_ROTATION_GET_INFO             = 46,
+       LTTNG_ROTATION_SET_SCHEDULE         = 47,
        LTTNG_SESSION_GET_CURRENT_OUTPUT    = 48,
+       LTTNG_ROTATION_SCHEDULE_GET_TIMER_PERIOD = 49,
+       LTTNG_ROTATION_SCHEDULE_GET_SIZE    = 50,
 };
 
 enum lttcomm_relayd_command {
@@ -336,6 +339,10 @@ struct lttcomm_session_msg {
                struct {
                        uint64_t rotation_id;
                } LTTNG_PACKED get_rotation_info;
+               struct {
+                       uint64_t timer_us;
+                       uint64_t size;
+               } LTTNG_PACKED rotate_setup;
        } u;
 } LTTNG_PACKED;
 
@@ -590,6 +597,10 @@ struct lttcomm_consumer_channel_monitor_msg {
         * Lowest and highest usage (bytes) at the moment the sample was taken.
         */
        uint64_t lowest, highest;
+       /*
+        * Sum of all the consumed positions for a channel.
+        */
+       uint64_t total_consumed;
 } LTTNG_PACKED;
 
 /*
This page took 0.025657 seconds and 5 git commands to generate.