X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel-consumer.h;h=b58626c2c2f7d49e3faa6b2cf0f7ac6bf94d6913;hb=e8fcabef14e1e2ce8d159c68c5585931df1216b4;hp=b9a424e541924e608cd9ba0a224f50eeb2772ca7;hpb=ffe600149a7608221985751e1bf293234bf2545c;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/kernel-consumer.h b/src/bin/lttng-sessiond/kernel-consumer.h index b9a424e54..b58626c2c 100644 --- a/src/bin/lttng-sessiond/kernel-consumer.h +++ b/src/bin/lttng-sessiond/kernel-consumer.h @@ -22,17 +22,28 @@ #include "trace-kernel.h" int kernel_consumer_send_channel_stream(struct consumer_socket *sock, - struct ltt_kernel_channel *channel, struct ltt_kernel_session *session); + struct ltt_kernel_channel *channel, struct ltt_kernel_session *session, + unsigned int monitor); int kernel_consumer_send_session(struct consumer_socket *sock, struct ltt_kernel_session *session); int kernel_consumer_add_stream(struct consumer_socket *sock, struct ltt_kernel_channel *channel, struct ltt_kernel_stream *stream, - struct ltt_kernel_session *session); + struct ltt_kernel_session *session, unsigned int monitor); int kernel_consumer_add_metadata(struct consumer_socket *sock, - struct ltt_kernel_session *session); + struct ltt_kernel_session *session, unsigned int monitor); int kernel_consumer_add_channel(struct consumer_socket *sock, - struct ltt_kernel_channel *channel, struct ltt_kernel_session *session); + struct ltt_kernel_channel *channel, struct ltt_kernel_session *session, + unsigned int monitor); + +int kernel_consumer_destroy_channel(struct consumer_socket *socket, + struct ltt_kernel_channel *channel); + +int kernel_consumer_destroy_metadata(struct consumer_socket *socket, + struct ltt_kernel_metadata *metadata); + +int kernel_consumer_streams_sent(struct consumer_socket *sock, + struct ltt_kernel_session *session, uint64_t channel_key);