logging: print human-readable thread names when logging
[lttng-tools.git] / src / bin / lttng-sessiond / thread.c
index ed090f6d6b09d65570c4fced29f951d871e1c1a3..26661a36f2aae08c0b21426b9fa343ac9f820a61 100644 (file)
@@ -61,9 +61,10 @@ void *launch_thread(void *data)
        void *ret;
        struct lttng_thread *thread = (struct lttng_thread *) data;
 
-       DBG("Launching \"%s\" thread", thread->name);
+       logger_set_thread_name(thread->name, true);
+       DBG("Entering thread entry point");
        ret = thread->entry(thread->data);
-       DBG("Thread \"%s\" has returned", thread->name);
+       DBG("Thread entry point has returned");
        return ret;
 }
 
This page took 0.024535 seconds and 4 git commands to generate.