Namespace 'struct channel' under 'lttng_ust_lib_ring_buffer_'
[lttng-ust.git] / libringbuffer / ring_buffer_backend.c
index 0d4afb4efcceca77de3e990449ec4476f559a932..3202e8d96a2c1c4a45bb7e3e16b4b5cc5aa51488 100644 (file)
@@ -223,7 +223,8 @@ void lib_ring_buffer_backend_reset(struct lttng_ust_lib_ring_buffer_backend *buf
  */
 void channel_backend_reset(struct channel_backend *chanb)
 {
-       struct channel *chan = caa_container_of(chanb, struct channel, backend);
+       struct lttng_ust_lib_ring_buffer_channel *chan = caa_container_of(chanb,
+                       struct lttng_ust_lib_ring_buffer_channel, backend);
        const struct lttng_ust_lib_ring_buffer_config *config = &chanb->config;
 
        /*
@@ -260,7 +261,8 @@ int channel_backend_init(struct channel_backend *chanb,
                         struct lttng_ust_shm_handle *handle,
                         const int *stream_fds)
 {
-       struct channel *chan = caa_container_of(chanb, struct channel, backend);
+       struct lttng_ust_lib_ring_buffer_channel *chan = caa_container_of(chanb,
+                       struct lttng_ust_lib_ring_buffer_channel, backend);
        unsigned int i;
        int ret;
        size_t shmsize = 0, num_subbuf_alloc;
This page took 0.022734 seconds and 4 git commands to generate.