Fix: add poll entry/exit around relayd_connect()
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.c
index 0f94a5f36b695b0bebc2e4b58cbf89a060a2f322..138a8b87b9f8e086ab3faff27c3892cce8fd7391 100644 (file)
@@ -485,7 +485,9 @@ static int create_connect_relayd(struct consumer_output *output,
        }
 
        /* Connect to relayd so we can proceed with a session creation. */
+       health_poll_entry();
        ret = relayd_connect(sock);
+       health_poll_exit();
        if (ret < 0) {
                ERR("Unable to reach lttng-relayd");
                ret = LTTNG_ERR_RELAYD_CONNECT_FAIL;
This page took 0.024105 seconds and 4 git commands to generate.