X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fconnection.h;h=fc4a59075f3dabd4a88eab06f8eef06b58af53d2;hp=eeb1d545bb7ac279b81ef11798666bee2689c377;hb=cd2ef1ef1d54ced9e4d0d03b865bb7fc6a905f80;hpb=8cf93def79a257058bdf3a25843e0627707a18bd diff --git a/src/bin/lttng-relayd/connection.h b/src/bin/lttng-relayd/connection.h index eeb1d545b..fc4a59075 100644 --- a/src/bin/lttng-relayd/connection.h +++ b/src/bin/lttng-relayd/connection.h @@ -54,6 +54,13 @@ struct relay_connection { uint32_t major; uint32_t minor; uint64_t session_id; + + /* + * This contains streams that are received on that connection. It's used to + * store them until we get the streams sent command where they are removed + * and flagged ready for the viewer. This is ONLY used by the control + * thread thus any action on it should happen in that thread. + */ struct cds_list_head recv_head; unsigned int version_check_done:1;