Fix: lttng-sessiond: null pointer used to log session name
[lttng-tools.git] / src / bin / lttng-sessiond / manage-kernel.c
index 09e47f7db3bef30bd6fd2eb45206df94d2a72471..c1874332fef4602c9b2b17139dbc7f0080250316 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
  * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  * Copyright (C) 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
@@ -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;
 }
This page took 0.026165 seconds and 4 git commands to generate.