From 5b0e3ccb033e701a4c4005d6859757652ca8897c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 8 May 2018 21:38:57 -0400 Subject: [PATCH] Clean-up: kernel_consumer_add_stream() does not need to be public MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/kernel-consumer.c | 1 + src/bin/lttng-sessiond/kernel-consumer.h | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) 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); -- 2.34.1