X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2Fcontext.h;h=4383f9abc0dd1cb490da15c52e4c0bcdc3f18e30;hp=e97e9489a0d7afe8625e24104926cb600e4ae6d1;hb=18cef8030188c29b1eb5a251e1c0de58b24e40b1;hpb=322585731ced1adba36cddcb8bdd5d997d1b2e3e diff --git a/lttng-sessiond/context.h b/lttng-sessiond/context.h index e97e9489a..4383f9abc 100644 --- a/lttng-sessiond/context.h +++ b/lttng-sessiond/context.h @@ -19,20 +19,15 @@ #define _LTT_CONTEXT_H #include -#ifdef CONFIG_LTTNG_TOOLS_HAVE_UST -#include -#else -#include "lttng-ust-abi.h" -#endif - #include "trace-kernel.h" #include "trace-ust.h" +#include "ust-ctl.h" int context_kernel_add(struct ltt_kernel_session *ksession, struct lttng_event_context *ctx, char *event_name, char *channel_name); -int context_ust_add(struct ltt_ust_session *ustsession, +int context_ust_add(struct ltt_ust_session *usess, int domain, struct lttng_event_context *ctx, char *event_name, - char *channel_name, int domain); + char *channel_name); #endif /* _LTT_CONTEXT_H */