X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt-sessiond%2Fcontext.h;fp=ltt-sessiond%2Fcontext.h;h=490fef50e049dc19b7b08eed597c5930196114a0;hb=b579acd98eabe5875e3ee7975abe10d7ccf23e5c;hp=0000000000000000000000000000000000000000;hpb=052da9399865b26a0212c6668ab424bb3ba37f4b;p=lttng-tools.git diff --git a/ltt-sessiond/context.h b/ltt-sessiond/context.h new file mode 100644 index 000000000..490fef50e --- /dev/null +++ b/ltt-sessiond/context.h @@ -0,0 +1,36 @@ +/* + * 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_CONTEXT_H +#define _LTT_CONTEXT_H + +#include +#include + +#include + +#include "liblttsessiondcomm.h" +#include "lttng-kernel.h" +#include "kernel-ctl.h" +#include "trace.h" + +int add_kernel_context(struct ltt_kernel_session *ksession, + struct lttng_kernel_context *kctx, char *event_name, + char *channel_name); + +#endif /* _LTT_CONTEXT_H */