X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt-sessiond%2Fcontext.h;h=872e77e7bbd67c40d631e848cddff0af5d85d74e;hb=9674ce7a9c5218066b395d1f6d1f19f277849f95;hp=38d39d94feaea8a0533d615245fd3c546553707d;hpb=54d01ffb43587b221dc50ec42b6070fad89bd255;p=lttng-tools.git diff --git a/ltt-sessiond/context.h b/ltt-sessiond/context.h index 38d39d94f..872e77e7b 100644 --- a/ltt-sessiond/context.h +++ b/ltt-sessiond/context.h @@ -19,10 +19,19 @@ #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" 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, + struct lttng_event_context *ctx, char *event_name, char *channel_name); #endif /* _LTT_CONTEXT_H */