ret = lttng_poll_add(events, the_ht_cleanup_pipe[0], LPOLLIN | LPOLLERR);
if (ret < 0) {
- DBG("[ht-thread] lttng_poll_add error %d.", ret);
+ DBG("lttng_poll_add error %d.", ret);
goto error;
}
uint32_t revents, nb_fd;
struct lttng_poll_event events;
- DBG("[ht-thread] startup.");
+ DBG("startup.");
rcu_register_thread();
rcu_thread_online();
health_register(the_health_sessiond, HEALTH_SESSIOND_TYPE_HT_CLEANUP);
if (testpoint(sessiond_thread_ht_cleanup)) {
- DBG("[ht-thread] testpoint.");
+ DBG("testpoint.");
goto error_testpoint;
}
ret = set_pollset(&events, 2);
if (ret < 0) {
- DBG("[ht-thread] sessiond_set_ht_cleanup_thread_pollset error %d.", ret);
+ DBG("sessiond_set_ht_cleanup_thread_pollset error %d.", ret);
goto error_poll_create;
}
while (1) {
restart:
- DBG3("[ht-thread] Polling.");
+ DBG3("Polling.");
health_poll_entry();
ret = lttng_poll_wait(&events, -1);
- DBG3("[ht-thread] Returning from poll on %d fds.",
+ DBG3("Returning from poll on %d fds.",
LTTNG_POLL_GETNB(&events));
health_poll_exit();
if (ret < 0) {