Fix: notify the viewer if new streams got added
[lttng-tools.git] / src / bin / lttng-relayd / lttng-relayd.h
index f2efc95144cfe8813b61f75e0338d3d23c86440c..37e63797e1460ac592c3f057e96dec8662353462 100644 (file)
@@ -83,6 +83,11 @@ struct relay_session {
         */
        uint64_t minor;
        uint64_t major;
+       /*
+        * Flag checked and exchanged with uatomic_cmpxchg to tell the
+        * viewer-side if new streams got added since the last check.
+        */
+       unsigned long new_streams;
 };
 
 /*
@@ -237,6 +242,8 @@ extern struct lttng_ht *indexes_ht;
 
 extern const char *tracing_group_name;
 
+extern int thread_quit_pipe[2];
+
 struct relay_stream *relay_stream_find_by_id(uint64_t stream_id);
 void lttng_relay_notify_ready(void);
 
This page took 0.024404 seconds and 4 git commands to generate.