Session daemon health check support
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index f48ba221849f8a3683fb8273cc23a2c156fd75b3..eb13734a684912b9fc3c11d086c1433b704108e8 100644 (file)
@@ -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
This page took 0.035847 seconds and 4 git commands to generate.