X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;h=aebe30c6abb1496504e56ab90bf50213cfa388ec;hb=173af62f4804133d4a7f45e34b6f72126f3eca5f;hp=f48ba221849f8a3683fb8273cc23a2c156fd75b3;hpb=53a80697a772bc2e260e3dff006f910be6709f04;p=lttng-tools.git diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index f48ba2218..aebe30c6a 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -84,9 +84,9 @@ enum lttcomm_sessiond_command { RELAYD_UPDATE_SYNC_INFO, RELAYD_VERSION, RELAYD_SEND_METADATA, - - /* Other tracer commands */ + RELAYD_CLOSE_STREAM, LTTNG_SET_FILTER, + LTTNG_HEALTH_CHECK, }; /* @@ -321,6 +321,15 @@ struct lttcomm_lttng_msg { char payload[]; }; +struct lttcomm_health_msg { + uint32_t component; + uint32_t cmd; +}; + +struct lttcomm_health_data { + uint32_t ret_code; +}; + /* * lttcomm_consumer_msg is the message sent from sessiond to consumerd * to either add a channel, add a stream, update a stream, or stop @@ -356,6 +365,9 @@ struct lttcomm_consumer_msg { /* Open socket to the relayd */ struct lttcomm_sock sock; } relayd_sock; + struct { + uint64_t net_seq_idx; + } destroy_relayd; } u; };