projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: create/destroy a splice_pipe per stream
[lttng-tools.git]
/
src
/
common
/
consumer.h
diff --git
a/src/common/consumer.h
b/src/common/consumer.h
index 4ac823c017d03754ed545a9a1288df707b84778f..1e378f04ea631ea4387a1940c407599d19a63966 100644
(file)
--- a/
src/common/consumer.h
+++ b/
src/common/consumer.h
@@
-336,6
+336,11
@@
struct lttng_consumer_stream {
*/
int index_fd;
*/
int index_fd;
+ /*
+ * Local pipe to extract data when using splice.
+ */
+ int splice_pipe[2];
+
/*
* Rendez-vous point between data and metadata stream in live mode.
*/
/*
* Rendez-vous point between data and metadata stream in live mode.
*/
@@
-451,9
+456,7
@@
struct lttng_consumer_local_data {
/* socket to exchange commands with sessiond */
char *consumer_command_sock_path;
/* communication with splice */
/* socket to exchange commands with sessiond */
char *consumer_command_sock_path;
/* communication with splice */
- int consumer_thread_pipe[2];
int consumer_channel_pipe[2];
int consumer_channel_pipe[2];
- int consumer_splice_metadata_pipe[2];
/* Data stream poll thread pipe. To transfer data stream to the thread */
struct lttng_pipe *consumer_data_pipe;
/* Data stream poll thread pipe. To transfer data stream to the thread */
struct lttng_pipe *consumer_data_pipe;
This page took
0.024516 seconds
and
4
git commands to generate.