X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;h=eb13734a684912b9fc3c11d086c1433b704108e8;hp=f48ba221849f8a3683fb8273cc23a2c156fd75b3;hb=44a5e5eb99f1d8b528f83fda5585677a3882f5f5;hpb=a24f7994321e1b114bf900b530604560786a9131 diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index f48ba2218..eb13734a6 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -84,9 +84,8 @@ enum lttcomm_sessiond_command { RELAYD_UPDATE_SYNC_INFO, RELAYD_VERSION, RELAYD_SEND_METADATA, - - /* Other tracer commands */ LTTNG_SET_FILTER, + LTTNG_HEALTH_CHECK, }; /* @@ -321,6 +320,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