Fix: notify the viewer if new streams got added
[lttng-tools.git] / src / bin / lttng-relayd / lttng-relayd.h
index d0e0473b2bb8ed5e7ec355da6666e808b5e93ff7..ab1ccd410e06773686f2bf6f3aefcc9c15ccb362 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;
 };
 
 /*
@@ -239,6 +244,9 @@ extern const char *tracing_group_name;
 
 extern const char * const config_section_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);
 
 #endif /* LTTNG_RELAYD_H */
This page took 0.023569 seconds and 4 git commands to generate.