X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fringbuffer-clients%2Fmetadata-template.h;h=1f0e9fe43eeed742947e86eb3b90466d5c594595;hb=434897eecad53ba1c16b8f7881d18ba187a49163;hp=c6d92936fa3864c13b532aa903cd63b7d4960b86;hpb=8cd08025a83fe1907c6fd04f94c8f9ae362c3da7;p=lttng-ust.git diff --git a/src/common/ringbuffer-clients/metadata-template.h b/src/common/ringbuffer-clients/metadata-template.h index c6d92936..1f0e9fe4 100644 --- a/src/common/ringbuffer-clients/metadata-template.h +++ b/src/common/ringbuffer-clients/metadata-template.h @@ -327,10 +327,11 @@ int lttng_flush_buffer(struct lttng_ust_channel_buffer *chan) struct lttng_ust_ring_buffer *buf; int shm_fd, wait_fd, wakeup_fd; uint64_t memory_map_size; + void *memory_map_addr; buf = channel_get_ring_buffer(&client_config, rb_chan, 0, rb_chan->handle, &shm_fd, &wait_fd, &wakeup_fd, - &memory_map_size); + &memory_map_size, &memory_map_addr); lib_ring_buffer_switch(&client_config, buf, SWITCH_ACTIVE, rb_chan->handle); return 0;