relayd: send sessiond uuid and session id as part of create session
[lttng-tools.git] / src / bin / lttng-sessiond / consumer.c
index 336c7607104e1a982cb0f62b0622e9e65eb81bf9..171301ab5688fafc305210d955c5daa94e204977 100644 (file)
@@ -35,6 +35,7 @@
 #include "health-sessiond.h"
 #include "ust-app.h"
 #include "utils.h"
+#include "lttng-sessiond.h"
 
 /*
  * Send a data payload using a given consumer socket of size len.
@@ -1078,7 +1079,8 @@ int consumer_send_relayd_socket(struct consumer_socket *consumer_sock,
                ret = relayd_create_session(rsock,
                                &msg.u.relayd_sock.relayd_session_id,
                                session_name, hostname, session_live_timer,
-                               consumer->snapshot);
+                               consumer->snapshot, session_id,
+                               sessiond_uuid);
                if (ret < 0) {
                        /* Close the control socket. */
                        (void) relayd_close(rsock);
This page took 0.026471 seconds and 5 git commands to generate.