Fix: add poll entry/exit around relayd_connect()
authorDavid Goulet <dgoulet@efficios.com>
Mon, 18 Feb 2013 21:01:19 +0000 (16:01 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 18 Feb 2013 21:01:19 +0000 (16:01 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
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.030521 seconds and 4 git commands to generate.