X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fchannel.hpp;h=f7156c6324574fc1dfe1a6e4a908cf5d3d9b60ff;hp=342e30f78a472e75113103527b7789b68885551f;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hpb=f250b40e2179eccdb83766bf4abef5a35036c47b diff --git a/src/bin/lttng-sessiond/channel.hpp b/src/bin/lttng-sessiond/channel.hpp index 342e30f78..f7156c632 100644 --- a/src/bin/lttng-sessiond/channel.hpp +++ b/src/bin/lttng-sessiond/channel.hpp @@ -8,31 +8,28 @@ #ifndef _LTT_CHANNEL_H #define _LTT_CHANNEL_H -#include - #include "trace-kernel.hpp" #include "trace-ust.hpp" -int channel_kernel_disable(struct ltt_kernel_session *ksession, - char *channel_name); +#include + +int channel_kernel_disable(struct ltt_kernel_session *ksession, char *channel_name); enum lttng_error_code channel_kernel_enable(struct ltt_kernel_session *ksession, - struct ltt_kernel_channel *kchan); + struct ltt_kernel_channel *kchan); enum lttng_error_code channel_kernel_create(struct ltt_kernel_session *ksession, - struct lttng_channel *chan, - int kernel_pipe); + struct lttng_channel *chan, + int kernel_pipe); -struct lttng_channel *channel_new_default_attr(int domain, - enum lttng_buffer_type type); +struct lttng_channel *channel_new_default_attr(int domain, enum lttng_buffer_type type); void channel_attr_destroy(struct lttng_channel *channel); enum lttng_error_code channel_ust_create(struct ltt_ust_session *usess, - struct lttng_channel *attr, enum lttng_buffer_type type); + struct lttng_channel *attr, + enum lttng_buffer_type type); enum lttng_error_code channel_ust_enable(struct ltt_ust_session *usess, - struct ltt_ust_channel *uchan); -int channel_ust_disable(struct ltt_ust_session *usess, - struct ltt_ust_channel *uchan); + struct ltt_ust_channel *uchan); +int channel_ust_disable(struct ltt_ust_session *usess, struct ltt_ust_channel *uchan); -struct lttng_channel *trace_ust_channel_to_lttng_channel( - const struct ltt_ust_channel *uchan); +struct lttng_channel *trace_ust_channel_to_lttng_channel(const struct ltt_ust_channel *uchan); #endif /* _LTT_CHANNEL_H */