Session daemon health check support
[lttng-tools.git] / src / bin / lttng-sessiond / consumer.h
index 2eb9d7433455f8156d83678029628ab7a969c41c..fff32de0fc4d1bc03fc76c2754cd6e7fb454f9e6 100644 (file)
@@ -23,6 +23,8 @@
 #include <common/consumer.h>
 #include <lttng/lttng.h>
 
+#include "health.h"
+
 enum consumer_dst_type {
        CONSUMER_DST_LOCAL,
        CONSUMER_DST_NET,
@@ -44,6 +46,9 @@ struct consumer_data {
        /* consumer error and command Unix socket path */
        char err_unix_sock_path[PATH_MAX];
        char cmd_unix_sock_path[PATH_MAX];
+
+       /* Health check of the thread */
+       struct health_state health;
 };
 
 /*
This page took 0.024251 seconds and 5 git commands to generate.