Calculate context length outside of retry loop
[lttng-ust.git] / include / lttng / ringbuffer-config.h
index c95d35cb348d820e69adba599ad3f90b9583b130..421a8637c5ca8fec432f3aa219527cdba12c92b6 100644 (file)
@@ -57,7 +57,8 @@ struct lttng_ust_lib_ring_buffer_client_cb {
        size_t (*record_header_size) (const struct lttng_ust_lib_ring_buffer_config *config,
                                      struct channel *chan, size_t offset,
                                      size_t *pre_header_padding,
-                                     struct lttng_ust_lib_ring_buffer_ctx *ctx);
+                                     struct lttng_ust_lib_ring_buffer_ctx *ctx,
+                                     void *client_ctx);
 
        /* Slow path only, at subbuffer switch */
        size_t (*subbuffer_header_size) (void);
@@ -271,6 +272,7 @@ struct lttng_ust_lib_ring_buffer_ctx {
         * ctx_len is 0. Use the value of ctx_len to find out which of the
         * following fields may be used.
         */
+       struct lttng_ust_lib_ring_buffer_backend_pages *backend_pages;
 };
 
 /**
This page took 0.024165 seconds and 4 git commands to generate.