X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;h=2cd1d5407ea06b09d9fbbf685e973e0a08e42b9d;hb=46e6455f9dbe3bbe9b39f9e7b55dde228f6e3dbd;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..2cd1d5407 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -281,6 +281,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 +293,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