X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.h;h=19dd2d30d0d99b71d4cc96f1d0cc95ebf9716756;hb=1474c8e2ef816a275305fe975b82ca6c50f5eca7;hp=8dd9241d4cc5d1b77e5fc6b472db4f1aa44deb24;hpb=3568fb657b9736aaf765b24ce4cc25eaeaadae1c;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index 8dd9241d..19dd2d30 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -206,6 +206,9 @@ struct lttng_probe_ctx { struct lttng_ctx_field { struct lttng_event_field event_field; size_t (*get_size)(size_t offset); + size_t (*get_size_arg)(size_t offset, struct lttng_ctx_field *field, + struct lib_ring_buffer_ctx *ctx, + struct lttng_channel *chan); void (*record)(struct lttng_ctx_field *field, struct lib_ring_buffer_ctx *ctx, struct lttng_channel *chan);