- uint32_t struct_size; /* Size of this structure. */
-
- /* input received by lib_ring_buffer_reserve(), saved here. */
- struct lttng_ust_lib_ring_buffer_channel *chan; /* channel */
- void *priv; /* client private data */
- size_t data_size; /* size of payload */
- int largest_align; /*
- * alignment of the largest element
- * in the payload
- */
-
- /* output from lib_ring_buffer_reserve() */
- int reserve_cpu; /* processor id updated by the reserve */
- struct lttng_ust_lib_ring_buffer *buf; /*
- * buffer corresponding to processor id
- * for this channel
- */
- size_t slot_size; /* size of the reserved slot */
- unsigned long buf_offset; /* offset following the record header */
- unsigned long pre_offset; /*
- * Initial offset position _before_
- * the record is written. Positioned
- * prior to record header alignment
- * padding.
- */
- uint64_t tsc; /* time-stamp counter value */
- unsigned int rflags; /* reservation flags */
- void *ip; /* caller ip address */
- struct lttng_ust_lib_ring_buffer_backend_pages *backend_pages;
+ uint32_t struct_size; /* Size of this structure. */
+
+ void *client_priv; /* Ring buffer client private data */
+ size_t data_size; /* size of payload */
+ int largest_align; /*
+ * alignment of the largest element
+ * in the payload
+ */
+ void *ip; /* caller ip address */
+
+ /* Private ring buffer context, set by reserve callback. */
+ struct lttng_ust_lib_ring_buffer_ctx_private *priv;