Fix: sessiond fails to launch on --without-ust configuration
[lttng-tools.git] / src / bin / lttng-sessiond / agent-thread.h
index 0a0b3682fecf327f037f12fb176a3333e3111e45..4bed47b3702743575a059d300a01a95ae57cdd38 100644 (file)
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#include <stdbool.h>
+
 #ifndef LTTNG_SESSIOND_AGENT_THREAD_H
 #define LTTNG_SESSIOND_AGENT_THREAD_H
 
 #ifdef HAVE_LIBLTTNG_UST_CTL
 
 void *agent_thread_manage_registration(void *data);
+bool agent_tracing_is_enabled(void);
 
 #else /* HAVE_LIBLTTNG_UST_CTL */
 
 static inline
 void *agent_thread_manage_registration(void *data)
 {
+       sessiond_notify_ready();
        return NULL;
 }
+static inline
+bool agent_tracing_is_enabled(void)
+{
+       return false;
+}
 
 #endif /* HAVE_LIBLTTNG_UST_CTL */
 
This page took 0.023295 seconds and 4 git commands to generate.