Fix: handle concurrent flush vs get_next_subbuf on metadata cache
[lttng-modules.git] / lttng-events.h
index e1de1af8974da959230ab8f1920d92f290f2a23b..b09bd4fceaf352d7f1508c1cd90e8c40203a7cae 100644 (file)
@@ -311,6 +311,7 @@ struct lttng_metadata_stream {
        wait_queue_head_t read_wait;    /* Reader buffer-level wait queue */
        struct list_head list;          /* Stream list */
        struct lttng_transport *transport;
+       struct mutex lock;
 };
 
 struct lttng_session {
This page took 0.025634 seconds and 4 git commands to generate.