+static void *thread_manage_health(void *thread_data)
+{
+ const bool is_root = (getuid() == 0);
+ int sock = -1, new_sock = -1, ret, i, pollfd, err = -1;
+ uint32_t revents, nb_fd;
+ struct lttng_poll_event events;
+ struct health_comm_msg msg;
+ struct health_comm_reply reply;
+ /* Thread-specific quit pipe. */
+ struct lttng_pipe *quit_pipe = thread_data;
+ const int quit_pipe_read_fd = lttng_pipe_get_readfd(quit_pipe);