Fix: context alignment not properly handled
[lttng-modules.git] / lttng-events.h
index e5cd0eeadeb6198b20958c34f68f517b13aa6710..118ea3b0db52d82e6072e17aa901c1850e22e43c 100644 (file)
@@ -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 {
@@ -448,6 +449,7 @@ int lttng_abi_syscall_list(void)
 #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);
This page took 0.022965 seconds and 4 git commands to generate.