sessiond: fix: possible unaligned access in packed structure
[lttng-tools.git] / src / bin / lttng-sessiond / context.h
index 01b35167e484b11ebe3a104d65a1e24828fe24b5..e9de999c471d109320bfb439264fe9e07bc39b9e 100644 (file)
 #include "ust-ctl.h"
 
 int context_kernel_add(struct ltt_kernel_session *ksession,
 #include "ust-ctl.h"
 
 int context_kernel_add(struct ltt_kernel_session *ksession,
-               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,
 int context_ust_add(struct ltt_ust_session *usess,
-               enum lttng_domain_type domain, struct lttng_event_context *ctx,
+               enum lttng_domain_type domain,
+               const struct lttng_event_context *ctx,
                char *channel_name);
 
 #endif /* _LTT_CONTEXT_H */
                char *channel_name);
 
 #endif /* _LTT_CONTEXT_H */
This page took 0.024639 seconds and 5 git commands to generate.