X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Ffrontend_api.h;h=56dbef2aa4326c8a4067ecc96ada66b887358afd;hb=bae63afc923740627352cdd6b0aeab1b0706387e;hp=f25ff0781930f72c050992573d061e7aa42c6e6b;hpb=0b5389bbeb5da342a12a195d34ea8c6d0db55a04;p=lttng-ust.git diff --git a/libringbuffer/frontend_api.h b/libringbuffer/frontend_api.h index f25ff078..56dbef2a 100644 --- a/libringbuffer/frontend_api.h +++ b/libringbuffer/frontend_api.h @@ -294,8 +294,7 @@ void lib_ring_buffer_commit(const struct lttng_ust_lib_ring_buffer_config *confi * ring_buffer buffers from vmcore, after crash. */ lib_ring_buffer_write_commit_counter(config, buf, chan, endidx, - ctx->buf_offset, commit_count, - ctx->slot_size, handle); + offset_end, commit_count, handle); } /**