X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fmain.c;h=380b4f833042cad3dcf7809e1871016fda753506;hb=4a9daf1745ccbd2aab029206a664f39fcbd640ce;hp=d8105e4058128bdc9a902bb8051fc991971f2b90;hpb=601262d65a9ccd90198558639ef2a73cda4230e1;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index d8105e405..380b4f833 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -2128,6 +2128,11 @@ int relay_streams_sent(struct lttcomm_relayd_hdr *recv_hdr, */ set_viewer_ready_flag(cmd); + /* + * Inform the viewer that there are new streams in the session. + */ + uatomic_set(&cmd->session->new_streams, 1); + reply.ret_code = htobe32(LTTNG_OK); send_ret = cmd->sock->ops->sendmsg(cmd->sock, &reply, sizeof(reply), 0); if (send_ret < 0) {