X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;h=3842558e5a4b99bd524d50bdec37937e64aa7f0b;hb=f7079f6790ccfb78ec7115ccb5b1706f5c18ebfe;hp=011a1290a99097c6cb36c52c84209e57e25ac265;hpb=3c82c39ffc82422b1c506f22d9a20cac29cb7d87;p=lttng-tools.git diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index 011a1290a..3842558e5 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -91,6 +91,8 @@ enum lttcomm_sessiond_command { LTTNG_ENABLE_EVENT_WITH_FILTER = 32, LTTNG_HEALTH_CHECK = 33, LTTNG_DATA_PENDING = 34, + RELAYD_BEGIN_DATA_PENDING = 35, + RELAYD_END_DATA_PENDING = 36, }; /* @@ -281,6 +283,8 @@ struct lttcomm_consumer_msg { enum lttng_stream_type type; /* Open socket to the relayd */ struct lttcomm_sock sock; + /* Tracing session id associated to the relayd. */ + uint64_t session_id; } relayd_sock; struct { uint64_t net_seq_idx; @@ -291,6 +295,13 @@ struct lttcomm_consumer_msg { } u; }; +/* + * Status message returned to the sessiond after a received command. + */ +struct lttcomm_consumer_status_msg { + enum lttng_error_code ret_code; +}; + #ifdef HAVE_LIBLTTNG_UST_CTL #include