X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fconsumer.c;h=55a2af4f794fa9681cddf90e91ba3ce3ecdd03b0;hp=f0870e6b0c0abcf2ae50e83c32df5ef2b162a33e;hb=55d097957f5bb8138959ad2202a40d85d49f029e;hpb=d3e2ba59faddb31870e2ce29b6a881f7ad5ad883 diff --git a/src/bin/lttng-sessiond/consumer.c b/src/bin/lttng-sessiond/consumer.c index f0870e6b0..55a2af4f7 100644 --- a/src/bin/lttng-sessiond/consumer.c +++ b/src/bin/lttng-sessiond/consumer.c @@ -31,7 +31,7 @@ #include #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);