Fix: poll: show the correct number of fds
[lttng-tools.git] / src / bin / lttng-sessiond / ust-thread.c
index 6f4295db77833416893a16ce0b16288f04b87d3d..b421eb29560c2d780ddb705224ed52e382003f28 100644 (file)
@@ -65,13 +65,14 @@ void *ust_thread_manage_notify(void *data)
        health_code_update();
 
        while (1) {
-               DBG3("[ust-thread] Manage notify polling on %d fds",
-                               LTTNG_POLL_GETNB(&events));
+               DBG3("[ust-thread] Manage notify polling");
 
                /* Inifinite blocking call, waiting for transmission */
 restart:
                health_poll_entry();
                ret = lttng_poll_wait(&events, -1);
+               DBG3("[ust-thread] Manage notify return from poll on %d fds",
+                               LTTNG_POLL_GETNB(&events));
                health_poll_exit();
                if (ret < 0) {
                        /*
This page took 0.023596 seconds and 4 git commands to generate.