Project

General

Profile

Bug #433 » 0001-Fix-add-health-poll-entry-exit-to-relayd-connect.patch

David Goulet, 01/30/2013 04:39 PM

View differences:

src/bin/lttng-sessiond/cmd.c
goto error;
}
/* Connect to relayd so we can proceed with a session creation. */
/*
* Connect to relayd so we can proceed with a session creation. This call
* can possibly block for an arbitrary amount of time to set the health
* state to be in poll execution.
*/
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;
(4-4/9)