From: Jérémie Galarneau Date: Wed, 9 May 2018 01:38:57 +0000 (-0400) Subject: Clean-up: kernel_consumer_add_stream() does not need to be public X-Git-Tag: v2.11.0-rc1~239 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5b0e3ccb033e701a4c4005d6859757652ca8897c;p=lttng-tools.git Clean-up: kernel_consumer_add_stream() does not need to be public Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/kernel-consumer.c b/src/bin/lttng-sessiond/kernel-consumer.c index 247894968..49adabb72 100644 --- a/src/bin/lttng-sessiond/kernel-consumer.c +++ b/src/bin/lttng-sessiond/kernel-consumer.c @@ -277,6 +277,7 @@ error: /* * Sending a single stream to the consumer with command ADD_STREAM. */ +static int kernel_consumer_add_stream(struct consumer_socket *sock, struct ltt_kernel_channel *channel, struct ltt_kernel_stream *stream, struct ltt_kernel_session *session, unsigned int monitor) diff --git a/src/bin/lttng-sessiond/kernel-consumer.h b/src/bin/lttng-sessiond/kernel-consumer.h index 11574de61..64f000e5b 100644 --- a/src/bin/lttng-sessiond/kernel-consumer.h +++ b/src/bin/lttng-sessiond/kernel-consumer.h @@ -28,10 +28,6 @@ int kernel_consumer_send_channel_streams(struct consumer_socket *sock, 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, unsigned int monitor); - int kernel_consumer_add_metadata(struct consumer_socket *sock, struct ltt_kernel_session *session, unsigned int monitor);