Move struct lttng_metadata_stream to private header
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 May 2021 15:31:55 +0000 (11:31 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 4 May 2021 14:38:33 +0000 (10:38 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ieae3b2c4c2ffe50360a33db1056734d04668af82

include/lttng/events-internal.h
include/lttng/events.h

index 097f5e979723c8a3969f82f3e60e729fb63162ef..084be4c1e0f80871e35478668d34f85a4d2e800c 100644 (file)
@@ -243,6 +243,19 @@ struct lttng_metadata_cache {
        uint64_t version;               /* Current version of the metadata */
 };
 
+struct lttng_metadata_stream {
+       void *priv;                     /* Ring buffer private data */
+       struct lttng_metadata_cache *metadata_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 */
+       struct lttng_transport *transport;
+       uint64_t version;               /* Current version of the metadata cache */
+       bool coherent;                  /* Stream in a coherent state */
+};
+
 struct lttng_kernel_channel_buffer_ops_private {
        struct lttng_kernel_channel_buffer_ops *pub;    /* Public channel buffer ops interface */
 
index 16dc08d8584e6bc919b789e6583b53ae4fdb9b9e..811833f352a71bc948f583fced890d15093d1e39 100644 (file)
@@ -435,19 +435,6 @@ struct lttng_channel {
                tstate:1;               /* Transient enable state */
 };
 
-struct lttng_metadata_stream {
-       void *priv;                     /* Ring buffer private data */
-       struct lttng_metadata_cache *metadata_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 */
-       struct lttng_transport *transport;
-       uint64_t version;               /* Current version of the metadata cache */
-       bool coherent;                  /* Stream in a coherent state */
-};
-
 #define LTTNG_DYNAMIC_LEN_STACK_SIZE   128
 
 struct lttng_dynamic_len_stack {
This page took 0.027173 seconds and 4 git commands to generate.