X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Frelayd.h;h=624d1b27d9cd779e5fac2628409401c3b2898241;hp=0a8f53b4ac7d40c46215637403edda5daa5c1551;hb=0f907de1f20c91a2bd1a08ee4d50332d1958754b;hpb=fe4477ee14abb348ce9e167f8b4c09312d67de36 diff --git a/src/common/sessiond-comm/relayd.h b/src/common/sessiond-comm/relayd.h index 0a8f53b4a..624d1b27d 100644 --- a/src/common/sessiond-comm/relayd.h +++ b/src/common/sessiond-comm/relayd.h @@ -69,6 +69,17 @@ struct lttcomm_relayd_add_stream { char pathname[PATH_MAX]; } LTTNG_PACKED; +/* + * Used to add a stream on the relay daemon. + * Protocol version 2.2 + */ +struct lttcomm_relayd_add_stream_2_2 { + char channel_name[DEFAULT_STREAM_NAME_LEN]; + char pathname[PATH_MAX]; + uint64_t tracefile_size; + uint64_t tracefile_count; +} LTTNG_PACKED; + /* * Answer from an add stream command. */