Clean-up: sessiond: change spaces to tab
[lttng-tools.git] / src / bin / lttng-sessiond / channel.h
CommitLineData
54d01ffb 1/*
ab5be9fa 2 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
54d01ffb 3 *
ab5be9fa 4 * SPDX-License-Identifier: GPL-2.0-only
54d01ffb 5 *
54d01ffb
DG
6 */
7
8#ifndef _LTT_CHANNEL_H
9#define _LTT_CHANNEL_H
10
11#include <lttng/lttng.h>
12
13#include "trace-kernel.h"
44d3bd01 14#include "trace-ust.h"
54d01ffb
DG
15
16int channel_kernel_disable(struct ltt_kernel_session *ksession,
17 char *channel_name);
18int channel_kernel_enable(struct ltt_kernel_session *ksession,
19 struct ltt_kernel_channel *kchan);
20int channel_kernel_create(struct ltt_kernel_session *ksession,
44d3bd01
DG
21 struct lttng_channel *chan, int kernel_pipe);
22
0a9c6494
DG
23struct lttng_channel *channel_new_default_attr(int domain,
24 enum lttng_buffer_type type);
e9404c27 25void channel_attr_destroy(struct lttng_channel *channel);
f6cd6b0f 26
7972aab2
DG
27int channel_ust_create(struct ltt_ust_session *usess,
28 struct lttng_channel *attr, enum lttng_buffer_type type);
29int channel_ust_enable(struct ltt_ust_session *usess,
7885e399 30 struct ltt_ust_channel *uchan);
7972aab2 31int channel_ust_disable(struct ltt_ust_session *usess,
7885e399
DG
32 struct ltt_ust_channel *uchan);
33
54d01ffb 34#endif /* _LTT_CHANNEL_H */
This page took 0.056478 seconds and 4 git commands to generate.