X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;h=1b13daec40c813d1745f7f7ec7bed0c11b622596;hb=b99a8d4211e26a847ca8916884354f159c999ad2;hp=78c7f5e2b6b9a1fc3cbf8a5fc55c15f1bc2d87d9;hpb=d3ecc5503007bc81faa8049fac945f163b6356f3;p=lttng-tools.git diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index 78c7f5e2b..1b13daec4 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -127,6 +127,8 @@ enum lttcomm_relayd_command { RELAYD_ROTATE_STREAM = 18, /* Rename a chunk after the rotation is completed (2.11+) */ RELAYD_ROTATE_RENAME = 19, + /* Check if a chunk has data pending (2.11+) */ + RELAYD_ROTATE_PENDING = 20, /* Create a folder on the relayd FS (2.11+) */ RELAYD_MKDIR = 21, }; @@ -540,6 +542,13 @@ struct lttcomm_consumer_msg { struct { uint64_t session_id; } LTTNG_PACKED regenerate_metadata; + struct { + char pathname[PATH_MAX]; + uint32_t metadata; /* This is a metadata channel. */ + uint64_t relayd_id; /* Relayd id if apply. */ + uint64_t key; + uint64_t new_chunk_id; + } LTTNG_PACKED rotate_channel; struct { char old_path[LTTNG_PATH_MAX]; char new_path[LTTNG_PATH_MAX];