Fix: allow get/put subbuf in loop for metadata stream
[lttng-modules.git] / lttng-events.h
index 46d80bcdb0edcd1a6d3599e7f630f240ecb28b0f..4c1f32288752e092612b791061006654ffcc66d9 100644 (file)
@@ -278,7 +278,8 @@ struct lttng_channel {
 struct lttng_metadata_stream {
        void *priv;                     /* Ring buffer private data */
        struct lttng_metadata_cache *metadata_cache;
-       unsigned int metadata_cache_read; /* Bytes read from the cache */
+       unsigned int metadata_in;       /* Bytes read from the cache */
+       unsigned int metadata_out;      /* Bytes consumed from stream */
        int finalized;                  /* Has channel been finalized */
        wait_queue_head_t read_wait;    /* Reader buffer-level wait queue */
        struct list_head list;          /* Stream list */
This page took 0.023496 seconds and 4 git commands to generate.