Fix: relayd: don't send streams if there is no metadata
[lttng-tools.git] / src / bin / lttng-relayd / ctf-trace.h
index 120549633c082fa9a6b00313787322f826be1863..a448b19cefa0cbc923aeea3e8e94630fed11c1d6 100644 (file)
@@ -57,6 +57,12 @@ struct ctf_trace {
         */
        struct lttng_ht_node_str node;
        struct rcu_head rcu_node;       /* For call_rcu teardown. */
+
+       /*
+        * True if the metadata stream of this trace was sent the viewer in the
+        * past.
+        */
+       bool metadata_stream_sent_to_viewer;
 };
 
 struct ctf_trace *ctf_trace_get_by_path_or_create(struct relay_session *session,
This page took 0.025008 seconds and 5 git commands to generate.