Move health into its own common/ static library
[lttng-tools.git] / src / bin / lttng-sessiond / consumer.c
index f0870e6b0c0abcf2ae50e83c32df5ef2b162a33e..55a2af4f794fa9681cddf90e91ba3ce3ecdd03b0 100644 (file)
@@ -31,7 +31,7 @@
 #include <common/relayd/relayd.h>
 
 #include "consumer.h"
-#include "health.h"
+#include "health-sessiond.h"
 #include "ust-app.h"
 #include "utils.h"
 
@@ -960,7 +960,8 @@ int consumer_send_relayd_socket(struct consumer_socket *consumer_sock,
        if (type == LTTNG_STREAM_CONTROL) {
                ret = relayd_create_session(rsock,
                                &msg.u.relayd_sock.relayd_session_id,
-                               session_name, hostname, session_live_timer);
+                               session_name, hostname, session_live_timer,
+                               consumer->snapshot);
                if (ret < 0) {
                        /* Close the control socket. */
                        (void) relayd_close(rsock);
This page took 0.025973 seconds and 5 git commands to generate.