X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lib%2Fringbuffer%2Ffrontend_types.h;h=5c7437f8127b903ca5acade4623d0bf3af689ea7;hb=71c1d8431c8b94c34332cf2fbdbd7c9dc5f1489a;hp=283a254f2a61dccc0725b1d9d03d546838fe1ee4;hpb=99a933172642e2942dc8918097bbb78a6b3838e1;p=lttng-modules.git diff --git a/lib/ringbuffer/frontend_types.h b/lib/ringbuffer/frontend_types.h index 283a254f..5c7437f8 100644 --- a/lib/ringbuffer/frontend_types.h +++ b/lib/ringbuffer/frontend_types.h @@ -129,6 +129,7 @@ struct lib_ring_buffer { union v_atomic records_count; /* Number of records written */ union v_atomic records_overrun; /* Number of overwritten records */ wait_queue_head_t read_wait; /* reader buffer-level wait queue */ + wait_queue_head_t write_wait; /* writer buffer-level wait queue (for metadata only) */ int finalized; /* buffer has been finalized */ struct timer_list switch_timer; /* timer for periodical switch */ struct timer_list read_timer; /* timer for read poll */