projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
liblttng-ust-ctl: Implement SIGBUS handling
[lttng-ust.git]
/
src
/
common
/
ringbuffer-clients
/
metadata-template.h
diff --git
a/src/common/ringbuffer-clients/metadata-template.h
b/src/common/ringbuffer-clients/metadata-template.h
index c6d92936fa3864c13b532aa903cd63b7d4960b86..1f0e9fe43eeed742947e86eb3b90466d5c594595 100644
(file)
--- 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;
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,
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;
lib_ring_buffer_switch(&client_config, buf,
SWITCH_ACTIVE, rb_chan->handle);
return 0;
This page took
0.024144 seconds
and
4
git commands to generate.