Fix: handle concurrent flush vs get_next_subbuf on metadata cache
[lttng-modules.git] / lttng-events.h
index 037467da655dcfe06cb477e7ad27b99696995286..3e8f80935e6449a196d88adc3a0ed2fcb77599d2 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.023352 seconds and 4 git commands to generate.