2 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
4 * SPDX-License-Identifier: GPL-2.0-only
11 #include <lttng/lttng.h>
13 #include "trace-kernel.h"
14 #include "trace-ust.h"
16 int channel_kernel_disable(struct ltt_kernel_session
*ksession
,
18 int channel_kernel_enable(struct ltt_kernel_session
*ksession
,
19 struct ltt_kernel_channel
*kchan
);
20 int channel_kernel_create(struct ltt_kernel_session
*ksession
,
21 struct lttng_channel
*chan
, int kernel_pipe
);
23 struct lttng_channel
*channel_new_default_attr(int domain
,
24 enum lttng_buffer_type type
);
25 void channel_attr_destroy(struct lttng_channel
*channel
);
27 int channel_ust_create(struct ltt_ust_session
*usess
,
28 struct lttng_channel
*attr
, enum lttng_buffer_type type
);
29 int channel_ust_enable(struct ltt_ust_session
*usess
,
30 struct ltt_ust_channel
*uchan
);
31 int channel_ust_disable(struct ltt_ust_session
*usess
,
32 struct ltt_ust_channel
*uchan
);
34 #endif /* _LTT_CHANNEL_H */
This page took 0.029546 seconds and 4 git commands to generate.