X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcontext.h;h=59faf86ccc78cd1cf7b340fb65f0929290c2eeb6;hp=e3047761b7d06251939183bcc3cb2c4b9fbae775;hb=1f4962443;hpb=601d5acf42ebdb05ff8aa19f12fd9bdad3602781 diff --git a/src/bin/lttng-sessiond/context.h b/src/bin/lttng-sessiond/context.h index e3047761b..59faf86cc 100644 --- a/src/bin/lttng-sessiond/context.h +++ b/src/bin/lttng-sessiond/context.h @@ -22,11 +22,13 @@ #include "trace-kernel.h" #include "trace-ust.h" -#include "ust-ctl.h" +#include "lttng-ust-ctl.h" int context_kernel_add(struct ltt_kernel_session *ksession, - struct lttng_event_context *ctx, char *channel_name); -int context_ust_add(struct ltt_ust_session *usess, int domain, - struct lttng_event_context *ctx, char *channel_name); + const struct lttng_event_context *ctx, char *channel_name); +int context_ust_add(struct ltt_ust_session *usess, + enum lttng_domain_type domain, + const struct lttng_event_context *ctx, + char *channel_name); #endif /* _LTT_CONTEXT_H */