X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Ffrontend_types.h;h=629abcbd5b4186592176f2609b03d4820a56b7b8;hb=b2c5f61a9cb94a79c35167450666e540b3e0fffe;hp=bf4b4185e2368945494dd39e3df86efed5ff1aa8;hpb=2df586a6d8136c08cf5f0b1210a268d6c37601de;p=lttng-ust.git diff --git a/libringbuffer/frontend_types.h b/libringbuffer/frontend_types.h index bf4b4185..629abcbd 100644 --- a/libringbuffer/frontend_types.h +++ b/libringbuffer/frontend_types.h @@ -70,7 +70,13 @@ struct channel { size_t priv_data_offset; unsigned int nr_streams; /* Number of streams */ struct lttng_ust_shm_handle *handle; - char padding[RB_CHANNEL_PADDING]; + /* Extended options. */ + union { + struct { + int32_t blocking_timeout_ms; + } s; + char padding[RB_CHANNEL_PADDING]; + } u; /* * Associated backend contains a variable-length array. Needs to * be last member.