X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fringbuffer-clients%2Ftemplate.h;h=b0a5fdd7a0910d00d7f875397d6db3d1f9adb540;hb=63b3205fe76018eb5d7656b94b54c9b662ae208f;hp=5a4aa9538be65b7b2dad8e4894d92e2e64c8d521;hpb=a5d437c5f61a1b089e3ea76e4d124683b3aa456e;p=lttng-ust.git diff --git a/src/common/ringbuffer-clients/template.h b/src/common/ringbuffer-clients/template.h index 5a4aa953..b0a5fdd7 100644 --- a/src/common/ringbuffer-clients/template.h +++ b/src/common/ringbuffer-clients/template.h @@ -787,10 +787,11 @@ int lttng_flush_buffer(struct lttng_ust_channel_buffer *chan) for_each_channel_cpu(cpu, rb_chan) { 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, cpu, rb_chan->handle, &shm_fd, &wait_fd, - &wakeup_fd, &memory_map_size); + &wakeup_fd, &memory_map_size, &memory_map_addr); lib_ring_buffer_switch(&client_config, buf, SWITCH_ACTIVE, rb_chan->handle); }