From: David Goulet Date: Mon, 18 Feb 2013 21:01:19 +0000 (-0500) Subject: Fix: add poll entry/exit around relayd_connect() X-Git-Tag: v2.1.2~13 X-Git-Url: http://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=4db7b5a53cf49b925f14912714a9a84b4986b18c Fix: add poll entry/exit around relayd_connect() Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 0f94a5f36..138a8b87b 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -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;