X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;h=88ba54449885c628b441a7d62315eb49ef7d0a9e;hb=601d5acf42ebdb05ff8aa19f12fd9bdad3602781;hp=5d2fa36a8b02fa9b7417b92c87a49b5a742c384f;hpb=536322299f7fc9ef136a0d7e50ba8e1b5d7a754b;p=lttng-tools.git diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index 5d2fa36a8..88ba54449 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -30,6 +30,7 @@ #include #include #include +#include #include #include @@ -85,8 +86,11 @@ enum lttcomm_sessiond_command { RELAYD_VERSION, RELAYD_SEND_METADATA, RELAYD_CLOSE_STREAM, + RELAYD_DATA_PENDING, + RELAYD_QUIESCENT_CONTROL, LTTNG_SET_FILTER, LTTNG_HEALTH_CHECK, + LTTNG_DATA_PENDING, }; /* @@ -182,7 +186,6 @@ struct lttcomm_session_msg { /* Context */ struct { char channel_name[LTTNG_SYMBOL_NAME_LEN]; - char event_name[LTTNG_SYMBOL_NAME_LEN]; struct lttng_event_context ctx; } context; /* Use by register_consumer */ @@ -218,6 +221,7 @@ struct lttcomm_session_msg { struct lttng_filter_bytecode { uint32_t len; /* len of data */ uint32_t reloc_table_offset; + uint64_t seqnum; char data[0]; }; @@ -271,7 +275,7 @@ struct lttcomm_consumer_msg { char path_name[PATH_MAX]; int net_index; unsigned int metadata_flag; - char name[LTTNG_SYMBOL_NAME_LEN]; /* Name string of the stream */ + char name[DEFAULT_STREAM_NAME_LEN]; /* Name string of the stream */ uint64_t session_id; /* Tracing session id of the stream */ } stream; struct { @@ -285,7 +289,7 @@ struct lttcomm_consumer_msg { } destroy_relayd; struct { uint64_t session_id; - } data_available; + } data_pending; } u; };