X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lib%2Fringbuffer%2Fconfig.h;h=770f692ca0eabce233c4a2e4803e788a9355d7ce;hb=f5cf8eff6312d07b6e2cf012e04fce554613a748;hp=5a9f8962070e49af5884bdb2e0478e9f5bdc07ba;hpb=f3bc08c50e1b302bceea699027d889fd6d9af525;p=lttng-modules.git diff --git a/lib/ringbuffer/config.h b/lib/ringbuffer/config.h index 5a9f8962..770f692c 100644 --- a/lib/ringbuffer/config.h +++ b/lib/ringbuffer/config.h @@ -33,9 +33,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 +208,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; } /*