2 * Copyright (C) 2012 David Goulet <dgoulet@efficios.com>
4 * SPDX-License-Identifier: GPL-2.0-only
10 #include <common/sessiond-comm/sessiond-comm.hpp>
12 #include "trace-kernel.hpp"
14 int kernel_consumer_send_channel_streams(struct consumer_socket *sock,
15 struct ltt_kernel_channel *channel, struct ltt_kernel_session *session,
16 unsigned int monitor);
18 int kernel_consumer_send_session(struct consumer_socket *sock,
19 struct ltt_kernel_session *session);
21 int kernel_consumer_add_metadata(struct consumer_socket *sock,
22 struct ltt_kernel_session *session, unsigned int monitor);
24 int kernel_consumer_destroy_channel(struct consumer_socket *socket,
25 struct ltt_kernel_channel *channel);
27 int kernel_consumer_destroy_metadata(struct consumer_socket *socket,
28 struct ltt_kernel_metadata *metadata);
30 int kernel_consumer_streams_sent(struct consumer_socket *sock,
31 struct ltt_kernel_session *session, uint64_t channel_key);