X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Frelayd.h;h=ff56d3a26fe1aff3bec9b678b020cea0da4c6de7;hb=6c1c0768320135c6936c371b09731851b508c023;hp=3df68682a60c8fc9038dd71f10567062dc4031d1;hpb=1c20f0e29cbf8627bfb1ff444572d52d6655c4e2;p=lttng-tools.git diff --git a/src/common/sessiond-comm/relayd.h b/src/common/sessiond-comm/relayd.h index 3df68682a..ff56d3a26 100644 --- a/src/common/sessiond-comm/relayd.h +++ b/src/common/sessiond-comm/relayd.h @@ -26,7 +26,7 @@ #include #include -#include +#include #include #define RELAYD_VERSION_COMM_MAJOR VERSION_MAJOR @@ -164,4 +164,14 @@ struct lttcomm_relayd_index { uint64_t stream_id; } LTTNG_PACKED; +/* + * Create session in 2.4 adds additionnal parameters for live reading. + */ +struct lttcomm_relayd_create_session_2_4 { + char session_name[NAME_MAX]; + char hostname[HOST_NAME_MAX]; + uint32_t live_timer; + uint32_t snapshot; +} LTTNG_PACKED; + #endif /* _RELAYD_COMM */