X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lib%2Fringbuffer%2Fconfig.h;h=60174db63a38687e256b3726e7a83dcd0af47209;hb=85a07c33f3b180d9c1be38832961d0feef66be66;hp=63189b950faa68fa4e5e348c41f1aba55dcdc098;hpb=fbe84fd748b6fde1f773da8e44d61235f8d4c232;p=lttng-modules.git diff --git a/lib/ringbuffer/config.h b/lib/ringbuffer/config.h index 63189b95..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; } /*