From 4db7b5a53cf49b925f14912714a9a84b4986b18c Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 18 Feb 2013 16:01:19 -0500 Subject: [PATCH] Fix: add poll entry/exit around relayd_connect() Signed-off-by: David Goulet --- src/bin/lttng-sessiond/cmd.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.34.1