X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Frotation-thread.c;h=81cdb75d8f06fc515fb4be9e1b70820215bf6459;hb=412d7227e69ec845e44c49082a417f9454d9b55d;hp=036296a3fe80bcc4a797311fcfa87d6e6f9078fc;hpb=16100d7ad8517131cc3ef29743e325184802ad13;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/rotation-thread.c b/src/bin/lttng-sessiond/rotation-thread.c index 036296a3f..81cdb75d8 100644 --- a/src/bin/lttng-sessiond/rotation-thread.c +++ b/src/bin/lttng-sessiond/rotation-thread.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include @@ -717,7 +716,7 @@ int handle_notification_channel(int fd, status = lttng_notification_channel_has_pending_notification( rotate_notification_channel, ¬ification_pending); if (status != LTTNG_NOTIFICATION_CHANNEL_STATUS_OK) { - ERR("[rotation-thread ]Error occurred while checking for pending notification"); + ERR("[rotation-thread] Error occurred while checking for pending notification"); ret = -1; goto end; } @@ -772,7 +771,7 @@ void *thread_rotation(void *data) DBG("[rotation-thread] Started rotation thread"); rcu_register_thread(); rcu_thread_online(); - health_register(health_sessiond, HEALTH_SESSIOND_TYPE_ROTATION); + health_register(the_health_sessiond, HEALTH_SESSIOND_TYPE_ROTATION); health_code_update(); if (!handle) { @@ -864,7 +863,7 @@ error: DBG("[rotation-thread] Exit"); fini_thread_state(&thread); end: - health_unregister(health_sessiond); + health_unregister(the_health_sessiond); rcu_thread_offline(); rcu_unregister_thread(); return NULL;