X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.h;h=7485e65b259d4b855c301405425225a462b5e0bf;hb=84382d49b1e8a17037d0415d84f1c9e250163494;hp=a7517a34083db737d9be2b2b51b61ddb3a60eb36;hpb=282dadbc28bdf6c8565bd0cabd6a2fbffb6b9396;p=lttng-tools.git diff --git a/src/common/consumer.h b/src/common/consumer.h index a7517a340..7485e65b2 100644 --- a/src/common/consumer.h +++ b/src/common/consumer.h @@ -41,7 +41,7 @@ enum lttng_consumer_command { /* pause, delete, active depending on fd state */ LTTNG_CONSUMER_UPDATE_STREAM, /* inform the consumer to quit when all fd has hang up */ - LTTNG_CONSUMER_STOP, + LTTNG_CONSUMER_STOP, /* deprecated */ LTTNG_CONSUMER_ADD_RELAYD_SOCKET, /* Inform the consumer to kill a specific relayd connection */ LTTNG_CONSUMER_DESTROY_RELAYD, @@ -622,6 +622,8 @@ ssize_t lttng_consumer_on_read_subbuffer_splice( int lttng_consumer_take_snapshot(struct lttng_consumer_stream *stream); int lttng_consumer_get_produced_snapshot(struct lttng_consumer_stream *stream, unsigned long *pos); +int lttng_ustconsumer_get_wakeup_fd(struct lttng_consumer_stream *stream); +int lttng_ustconsumer_close_wakeup_fd(struct lttng_consumer_stream *stream); void *consumer_thread_metadata_poll(void *data); void *consumer_thread_data_poll(void *data); void *consumer_thread_sessiond_poll(void *data);