X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lib%2Fringbuffer%2Ffrontend_types.h;h=346813e9c3ea30ad2eba8e4dc54608b7b974bd45;hb=df388b78db6422e49c9f628a8fa36d60092b35e1;hp=46bf8d27efda7741fc407e79c0553bdff6ab9702;hpb=5671a6610b06175832338ed78db486b59bc5246c;p=lttng-modules.git diff --git a/lib/ringbuffer/frontend_types.h b/lib/ringbuffer/frontend_types.h index 46bf8d27..346813e9 100644 --- a/lib/ringbuffer/frontend_types.h +++ b/lib/ringbuffer/frontend_types.h @@ -152,7 +152,8 @@ struct lib_ring_buffer { unsigned long cons_snapshot; /* Consumer count snapshot */ unsigned int get_subbuf:1, /* Sub-buffer being held by reader */ switch_timer_enabled:1, /* Protected by ring_buffer_nohz_lock */ - read_timer_enabled:1; /* Protected by ring_buffer_nohz_lock */ + read_timer_enabled:1, /* Protected by ring_buffer_nohz_lock */ + quiescent:1; }; static inline @@ -161,6 +162,8 @@ void *channel_get_private(struct channel *chan) return chan->backend.priv; } +void lib_ring_buffer_lost_event_too_big(struct channel *chan); + /* * Issue warnings and disable channels upon internal error. * Can receive struct lib_ring_buffer or struct lib_ring_buffer_backend