X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lib%2Fringbuffer%2Fconfig.h;h=60174db63a38687e256b3726e7a83dcd0af47209;hb=03f302b065e710984da417d3322a28d381e5dbf6;hp=b8169afe036b21d954b0781a7bb661ace00ad328;hpb=5671a6610b06175832338ed78db486b59bc5246c;p=lttng-modules.git diff --git a/lib/ringbuffer/config.h b/lib/ringbuffer/config.h index b8169afe..60174db6 100644 --- a/lib/ringbuffer/config.h +++ b/lib/ringbuffer/config.h @@ -200,6 +200,8 @@ struct lib_ring_buffer_ctx { */ u64 tsc; /* time-stamp counter value */ unsigned int rflags; /* reservation flags */ + /* Cache backend pages pointer chasing. */ + struct lib_ring_buffer_backend_pages *backend_pages; }; /** @@ -223,6 +225,7 @@ void lib_ring_buffer_ctx_init(struct lib_ring_buffer_ctx *ctx, ctx->largest_align = largest_align; ctx->cpu = cpu; ctx->rflags = 0; + ctx->backend_pages = NULL; } /* @@ -310,6 +313,6 @@ int lib_ring_buffer_check_config(const struct lib_ring_buffer_config *config, return 0; } -#include "../../wrapper/ringbuffer/vatomic.h" +#include #endif /* _LIB_RING_BUFFER_CONFIG_H */