X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libringbuffer%2Ffrontend_types.h;h=ad7848c831627cd87a009db5a1c9e29c41a1f841;hb=dc613eb9d0c449f3e988af66b173abefa4b22233;hp=974f782e0dc86b3ed3903ec861ede6754504fbd9;hpb=1d4981969313da002983ca979bd85c95493f7316;p=lttng-ust.git diff --git a/libringbuffer/frontend_types.h b/libringbuffer/frontend_types.h index 974f782e..ad7848c8 100644 --- a/libringbuffer/frontend_types.h +++ b/libringbuffer/frontend_types.h @@ -103,6 +103,8 @@ struct lib_ring_buffer { int get_subbuf:1; /* Sub-buffer being held by reader */ int switch_timer_enabled:1; /* Protected by ring_buffer_nohz_lock */ int read_timer_enabled:1; /* Protected by ring_buffer_nohz_lock */ + /* shmp pointer to self */ + DECLARE_SHMP(struct lib_ring_buffer, self); } ____cacheline_aligned; static inline