Fix: notify the viewer if new streams got added
[lttng-tools.git] / src / bin / lttng-relayd / lttng-relayd.h
index c08c17a4faf83d552d7d43ebe79610adf7d307d3..ab1ccd410e06773686f2bf6f3aefcc9c15ccb362 100644 (file)
@@ -83,6 +83,11 @@ struct relay_session {
         */
        uint64_t minor;
        uint64_t major;
         */
        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;
 };
 
 /*
 };
 
 /*
This page took 0.023354 seconds and 4 git commands to generate.