X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fmanage-kernel.c;h=55ecbf8b3aeae8efec377f764acf0826765c4f3b;hp=09e47f7db3bef30bd6fd2eb45206df94d2a72471;hb=412d7227e69ec845e44c49082a417f9454d9b55d;hpb=abcdc00cea4a7b354509b3547a8ddd581a9d5dfa diff --git a/src/bin/lttng-sessiond/manage-kernel.c b/src/bin/lttng-sessiond/manage-kernel.c index 09e47f7db..55ecbf8b3 100644 --- a/src/bin/lttng-sessiond/manage-kernel.c +++ b/src/bin/lttng-sessiond/manage-kernel.c @@ -172,7 +172,7 @@ static void *thread_kernel_management(void *data) DBG("[thread] Thread manage kernel started"); - health_register(health_sessiond, HEALTH_SESSIOND_TYPE_KERNEL); + health_register(the_health_sessiond, HEALTH_SESSIOND_TYPE_KERNEL); /* * This first step of the while is to clean this structure which could free @@ -305,7 +305,7 @@ error_testpoint: WARN("Kernel thread died unexpectedly. " "Kernel tracing can continue but CPU hotplug is disabled."); } - health_unregister(health_sessiond); + health_unregister(the_health_sessiond); DBG("Kernel thread dying"); return NULL; }