X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lib%2Fringbuffer%2Fconfig.h;h=fd73d5519c92589ebb7e02945eb65f06256d1f8f;hb=b64bc438d1c9bbcf241c598ca9f0e00d5770d784;hp=5a9f8962070e49af5884bdb2e0478e9f5bdc07ba;hpb=f3bc08c50e1b302bceea699027d889fd6d9af525;p=lttng-modules.git diff --git a/lib/ringbuffer/config.h b/lib/ringbuffer/config.h index 5a9f8962..fd73d551 100644 --- a/lib/ringbuffer/config.h +++ b/lib/ringbuffer/config.h @@ -14,6 +14,7 @@ #include #include +#include "../align.h" struct lib_ring_buffer; struct channel; @@ -33,9 +34,7 @@ struct lib_ring_buffer_client_cb { u64 (*ring_buffer_clock_read) (struct channel *chan); size_t (*record_header_size) (const struct lib_ring_buffer_config *config, struct channel *chan, size_t offset, - size_t data_size, size_t *pre_header_padding, - unsigned int rflags, struct lib_ring_buffer_ctx *ctx); /* Slow path only, at subbuffer switch */ @@ -210,6 +209,7 @@ void lib_ring_buffer_ctx_init(struct lib_ring_buffer_ctx *ctx, ctx->data_size = data_size; ctx->largest_align = largest_align; ctx->cpu = cpu; + ctx->rflags = 0; } /*