Session consumed size notification
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index 4eed95dec50779bb860a2143cca1a3af09445068..8f08d9904a16a05713edf20ae21b20d7b003af83 100644 (file)
@@ -102,7 +102,9 @@ enum lttcomm_sessiond_command {
        LTTNG_REGISTER_TRIGGER              = 43,
        LTTNG_UNREGISTER_TRIGGER            = 44,
        LTTNG_ROTATE_SESSION                = 45,
-       LTTNG_ROTATE_PENDING                = 46,
+       LTTNG_ROTATION_GET_INFO             = 46,
+       LTTNG_ROTATION_SET_SCHEDULE         = 47,
+       LTTNG_SESSION_GET_CURRENT_OUTPUT    = 48,
 };
 
 enum lttcomm_relayd_command {
@@ -333,8 +335,12 @@ struct lttcomm_session_msg {
                        uint32_t length;
                } LTTNG_PACKED trigger;
                struct {
-                       uint64_t rotate_id;
-               } LTTNG_PACKED rotate_pending;
+                       uint64_t rotation_id;
+               } LTTNG_PACKED get_rotation_info;
+               struct {
+                       uint64_t timer_us;
+                       uint64_t size;
+               } LTTNG_PACKED rotate_setup;
        } u;
 } LTTNG_PACKED;
 
@@ -589,6 +595,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.02496 seconds and 5 git commands to generate.