X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;h=8f08d9904a16a05713edf20ae21b20d7b003af83;hb=e8360425c2fd0f8cfef1e678af5adfde7ae0a68e;hp=5b7cc089ec4d9ec5ccf857bc8f67fd5fab2b7698;hpb=d68c9a04537b683991a7355b812b0af954008cf1;p=lttng-tools.git diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index 5b7cc089e..8f08d9904 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -103,6 +103,7 @@ 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, }; @@ -336,6 +337,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 +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; /*