init private data
[lttng-ust.git] / liblttng-ust / ltt-ring-buffer-metadata-client.h
index 46aab3cce8d87d9300f2fcd032717e6a00cfd689..0fd4d22264614fcc6633e55b5b0caf26e2d5e7f6 100644 (file)
@@ -169,7 +169,8 @@ struct ltt_channel *_channel_create(const char *name,
                                unsigned int switch_timer_interval,
                                unsigned int read_timer_interval,
                                int *shm_fd, int *wait_fd,
-                               uint64_t *memory_map_size)
+                               uint64_t *memory_map_size,
+                               struct ltt_channel *chan_priv_init)
 {
        void *priv;
        struct ltt_channel *ltt_chan = NULL;
@@ -177,6 +178,7 @@ struct ltt_channel *_channel_create(const char *name,
 
        handle = channel_create(&client_config, name,
                        &priv, __alignof__(*ltt_chan), sizeof(*ltt_chan),
+                       chan_priv_init,
                        buf_addr, subbuf_size, num_subbuf,
                        switch_timer_interval, read_timer_interval,
                        shm_fd, wait_fd, memory_map_size);
This page took 0.023361 seconds and 4 git commands to generate.