X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotify-apps.c;h=7c86b57c8a8aa9e01dc63c2082efc5cfdf6d16c9;hb=a0377dfefe40662ba7d68617bce6ff467114136c;hp=9a63141dd63a5941f6ea8559fa88883f489aa0ad;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/notify-apps.c b/src/bin/lttng-sessiond/notify-apps.c index 9a63141dd..7c86b57c8 100644 --- a/src/bin/lttng-sessiond/notify-apps.c +++ b/src/bin/lttng-sessiond/notify-apps.c @@ -6,7 +6,6 @@ */ #define _LGPL_SOURCE -#include #include #include @@ -41,8 +40,8 @@ static void *thread_application_notification(void *data) rcu_register_thread(); rcu_thread_online(); - health_register(health_sessiond, - HEALTH_SESSIOND_TYPE_APP_MANAGE_NOTIFY); + health_register(the_health_sessiond, + HEALTH_SESSIOND_TYPE_APP_MANAGE_NOTIFY); if (testpoint(sessiond_thread_app_manage_notify)) { goto error_testpoint; @@ -185,7 +184,7 @@ error_testpoint: health_error(); ERR("Health error occurred in %s", __func__); } - health_unregister(health_sessiond); + health_unregister(the_health_sessiond); rcu_thread_offline(); rcu_unregister_thread(); return NULL;