X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fmain.c;h=461394e44e36fa9613d36318d93ad396447e3965;hb=4e53a12fd2d1fb15f8ed6db2948b27a9714c0b2f;hp=157ad1591d631dfcbae14841fbf38610cbd137a2;hpb=0ee3f1e31308438dca89a4b330f12414181f26dd;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 157ad1591..461394e44 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -734,9 +734,9 @@ static void *thread_manage_kernel(void *data) /* Poll infinite value of time */ restart: - health_poll_update(); + health_poll_entry(); ret = lttng_poll_wait(&events, -1); - health_poll_update(); + health_poll_exit(); if (ret < 0) { /* * Restart interrupted system call. @@ -880,14 +880,14 @@ static void *thread_manage_consumer(void *data) /* Inifinite blocking call, waiting for transmission */ restart: - health_poll_update(); + health_poll_entry(); if (testpoint(thread_manage_consumer)) { goto error; } ret = lttng_poll_wait(&events, -1); - health_poll_update(); + health_poll_exit(); if (ret < 0) { /* * Restart interrupted system call. @@ -979,9 +979,9 @@ restart: /* Inifinite blocking call, waiting for transmission */ restart_poll: - health_poll_update(); + health_poll_entry(); ret = lttng_poll_wait(&events, -1); - health_poll_update(); + health_poll_exit(); if (ret < 0) { /* * Restart interrupted system call. @@ -1121,9 +1121,9 @@ static void *thread_manage_apps(void *data) /* Inifinite blocking call, waiting for transmission */ restart: - health_poll_update(); + health_poll_entry(); ret = lttng_poll_wait(&events, -1); - health_poll_update(); + health_poll_exit(); if (ret < 0) { /* * Restart interrupted system call. @@ -1401,9 +1401,9 @@ static void *thread_registration_apps(void *data) /* Inifinite blocking call, waiting for transmission */ restart: - health_poll_update(); + health_poll_entry(); ret = lttng_poll_wait(&events, -1); - health_poll_update(); + health_poll_exit(); if (ret < 0) { /* * Restart interrupted system call. @@ -3179,9 +3179,9 @@ static void *thread_manage_clients(void *data) /* Inifinite blocking call, waiting for transmission */ restart: - health_poll_update(); + health_poll_entry(); ret = lttng_poll_wait(&events, -1); - health_poll_update(); + health_poll_exit(); if (ret < 0) { /* * Restart interrupted system call.