liblttng-ust-ctl: Implement SIGBUS handling
[lttng-ust.git] / src / common / ringbuffer-clients / template.h
index 5a4aa9538be65b7b2dad8e4894d92e2e64c8d521..b0a5fdd7a0910d00d7f875397d6db3d1f9adb540 100644 (file)
@@ -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);
        }
This page took 0.023097 seconds and 4 git commands to generate.