Build fix: unknown warning -Wduplicated-branches
[lttng-tools.git] / src / bin / lttng-sessiond / kernel-consumer.hpp
1 /*
2 * Copyright (C) 2012 David Goulet <dgoulet@efficios.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8 #include <sys/types.h>
9
10 #include <common/sessiond-comm/sessiond-comm.hpp>
11
12 #include "trace-kernel.hpp"
13
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);
17
18 int kernel_consumer_send_session(struct consumer_socket *sock,
19 struct ltt_kernel_session *session);
20
21 int kernel_consumer_add_metadata(struct consumer_socket *sock,
22 struct ltt_kernel_session *session, unsigned int monitor);
23
24 int kernel_consumer_destroy_channel(struct consumer_socket *socket,
25 struct ltt_kernel_channel *channel);
26
27 int kernel_consumer_destroy_metadata(struct consumer_socket *socket,
28 struct ltt_kernel_metadata *metadata);
29
30 int kernel_consumer_streams_sent(struct consumer_socket *sock,
31 struct ltt_kernel_session *session, uint64_t channel_key);
This page took 0.029322 seconds and 4 git commands to generate.