Generate a UUID on lttng-sessiond launch
[lttng-tools.git] / src / bin / lttng-sessiond / lttng-sessiond.h
index d321fceda1de99b870636f6d7b42dc7c57fd19e3..5b6761f55c216801b4327e20347237bb3963c451 100644 (file)
@@ -25,6 +25,7 @@
 #include <common/sessiond-comm/sessiond-comm.h>
 #include <common/compat/poll.h>
 #include <common/compat/socket.h>
+#include <common/compat/uuid.h>
 
 #include "session.h"
 #include "ust-app.h"
@@ -41,6 +42,9 @@ enum consumerd_state {
        CONSUMER_ERROR   = 3,
 };
 
+/* Unique identifier of a session daemon instance. */
+extern lttng_uuid sessiond_uuid;
+
 /*
  * This consumer daemon state is used to validate if a client command will be
  * able to reach the consumer. If not, the client is informed. For instance,
This page took 0.022609 seconds and 4 git commands to generate.