X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-events.h;fp=lttng-events.h;h=e8c9afedffc3eb3ac94c1536e72d3943aaf330be;hb=338e5cc91d72cb965ac3b86d5b1d837456ed1bed;hp=c84689cb3c96cd8ef703486ba3a6928ad263b226;hpb=bea066559badfebe7039292b6061b18173bc11e4;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index c84689cb..e8c9afed 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -167,6 +167,7 @@ struct lttng_ctx { struct lttng_ctx_field *fields; unsigned int nr_fields; unsigned int allocated_fields; + size_t largest_align; /* in bytes */ }; struct lttng_event_desc { @@ -405,6 +406,7 @@ static inline int lttng_syscalls_unregister(struct lttng_channel *chan) #endif struct lttng_ctx_field *lttng_append_context(struct lttng_ctx **ctx); +void lttng_context_update(struct lttng_ctx *ctx); int lttng_find_context(struct lttng_ctx *ctx, const char *name); void lttng_remove_context_field(struct lttng_ctx **ctx, struct lttng_ctx_field *field);