X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-thread.c;h=85803e472217901a50eeec10e6ace02c3c426ca1;hp=67c2971d627ba36e8ec934bf6acf07bdd32a8e8b;hb=6c71277b0dc97ce8a4ac6b8d359b4b349c04b658;hpb=380e8d6f886dfe6633044abfa77739d1210979a3 diff --git a/src/bin/lttng-sessiond/ust-thread.c b/src/bin/lttng-sessiond/ust-thread.c index 67c2971d6..85803e472 100644 --- a/src/bin/lttng-sessiond/ust-thread.c +++ b/src/bin/lttng-sessiond/ust-thread.c @@ -23,7 +23,7 @@ #include "fd-limit.h" #include "lttng-sessiond.h" #include "ust-thread.h" -#include "health.h" +#include "health-sessiond.h" /* * This thread manage application notify communication. @@ -39,7 +39,8 @@ void *ust_thread_manage_notify(void *data) rcu_register_thread(); rcu_thread_online(); - health_register(HEALTH_TYPE_APP_MANAGE_NOTIFY); + health_register(health_sessiond, + HEALTH_SESSIOND_TYPE_APP_MANAGE_NOTIFY); health_code_update(); @@ -176,7 +177,7 @@ error_poll_create: health_error(); ERR("Health error occurred in %s", __func__); } - health_unregister(); + health_unregister(health_sessiond); rcu_thread_offline(); rcu_unregister_thread(); return NULL;