X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel-consumer.h;h=02e3ec008370eb2a18024d5587233da5057c2a43;hp=cf4ef256eeb5b34a1a40fc52a1d7af0ecad7c81e;hb=00e2e675d54dc726a7c8f8887c889cc8ef022003;hpb=b8aa16822f579a6e15b41d2761801a0a65d5f2a5 diff --git a/src/bin/lttng-sessiond/kernel-consumer.h b/src/bin/lttng-sessiond/kernel-consumer.h index cf4ef256e..02e3ec008 100644 --- a/src/bin/lttng-sessiond/kernel-consumer.h +++ b/src/bin/lttng-sessiond/kernel-consumer.h @@ -15,17 +15,24 @@ * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef _KERNEL_CONSUMER_H -#define _KERNEL_CONSUMER_H - #include -#include "consumer.h" +#include + #include "trace-kernel.h" -int kernel_consumer_send_channel_stream(struct consumer_data *consumer_data, - struct ltt_kernel_channel *channel, uid_t uid, gid_t gid); -int kernel_consumer_send_session(struct consumer_data *consumer_data, - struct ltt_kernel_session *session); +int kernel_consumer_send_channel_stream(int sock, + struct ltt_kernel_channel *channel, struct ltt_kernel_session *session); + +int kernel_consumer_send_session(int sock, struct ltt_kernel_session *session); + +int kernel_consumer_send_relayd_socket(int consumer_sock, + struct lttcomm_sock *sock, struct consumer_output *consumer, + enum lttng_stream_type type); + +int kernel_consumer_add_stream(int sock, struct ltt_kernel_channel *channel, + struct ltt_kernel_stream *stream, struct ltt_kernel_session *session); + +int kernel_consumer_add_metadata(int sock, struct ltt_kernel_session *session); -#endif /* _KERNEL_CONSUMER_H */ +int kernel_consumer_add_channel(int sock, struct ltt_kernel_channel *channel);