projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update lib ring buffer for external consumer
[lttng-ust.git]
/
libringbuffer
/
frontend.h
diff --git
a/libringbuffer/frontend.h
b/libringbuffer/frontend.h
index a88a400395cde93aeeecdea3f6dcfbcb39167bce..9fa0f04d2a67d0bf6e1b46a997755e8fc16ff64e 100644
(file)
--- a/
libringbuffer/frontend.h
+++ b/
libringbuffer/frontend.h
@@
-62,7
+62,8
@@
int channel_handle_add_stream(struct shm_handle *handle,
* channel.
*/
extern
* channel.
*/
extern
-void *channel_destroy(struct channel *chan, struct shm_handle *handle);
+void *channel_destroy(struct channel *chan, struct shm_handle *handle,
+ int shadow);
/* Buffer read operations */
/* Buffer read operations */
@@
-83,9
+84,11
@@
extern struct lib_ring_buffer *channel_get_ring_buffer(
int *shm_fd, int *wait_fd,
uint64_t *memory_map_size);
extern int lib_ring_buffer_open_read(struct lib_ring_buffer *buf,
int *shm_fd, int *wait_fd,
uint64_t *memory_map_size);
extern int lib_ring_buffer_open_read(struct lib_ring_buffer *buf,
- struct shm_handle *handle);
+ struct shm_handle *handle,
+ int shadow);
extern void lib_ring_buffer_release_read(struct lib_ring_buffer *buf,
extern void lib_ring_buffer_release_read(struct lib_ring_buffer *buf,
- struct shm_handle *handle);
+ struct shm_handle *handle,
+ int shadow);
/*
* Read sequence: snapshot, many get_subbuf/put_subbuf, move_consumer.
/*
* Read sequence: snapshot, many get_subbuf/put_subbuf, move_consumer.
This page took
0.024269 seconds
and
4
git commands to generate.