X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt-sessiond%2Fchannel.h;fp=ltt-sessiond%2Fchannel.h;h=271721a973d434e24b6de953696c60872d62c6d5;hb=54d01ffb43587b221dc50ec42b6070fad89bd255;hp=0000000000000000000000000000000000000000;hpb=e848fc768a950acc1b823fcb139057a4fac1442a;p=lttng-tools.git diff --git a/ltt-sessiond/channel.h b/ltt-sessiond/channel.h new file mode 100644 index 000000000..271721a97 --- /dev/null +++ b/ltt-sessiond/channel.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2011 - David Goulet + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; only version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; if not, write to the Free Software Foundation, Inc., 59 Temple + * Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef _LTT_CHANNEL_H +#define _LTT_CHANNEL_H + +#include + +#include "trace-kernel.h" + +int channel_kernel_disable(struct ltt_kernel_session *ksession, + char *channel_name); +int channel_kernel_enable(struct ltt_kernel_session *ksession, + struct ltt_kernel_channel *kchan); +int channel_kernel_create(struct ltt_kernel_session *ksession, + char *channel_name, struct lttng_channel *chan, int kernel_pipe); + +#endif /* _LTT_CHANNEL_H */