X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=blobdiff_plain;f=libringbuffer%2Ffrontend.h;h=a2f74596eb9c06f319236309d2f36cdae2eaca99;hp=160fd45532f39573b09178f6924bba71b1f65264;hb=f45930b75b297a5f80fe14ef2550b196ca750b4a;hpb=d0cba1f1d68f4aa7d611d4ba1c4c57f736f3c846 diff --git a/libringbuffer/frontend.h b/libringbuffer/frontend.h index 160fd455..a2f74596 100644 --- a/libringbuffer/frontend.h +++ b/libringbuffer/frontend.h @@ -131,6 +131,11 @@ extern int lib_ring_buffer_snapshot(struct lttng_ust_lib_ring_buffer *buf, unsigned long *consumed, unsigned long *produced, struct lttng_ust_shm_handle *handle); +extern int lib_ring_buffer_snapshot_sample_positions( + struct lttng_ust_lib_ring_buffer *buf, + unsigned long *consumed, + unsigned long *produced, + struct lttng_ust_shm_handle *handle); extern void lib_ring_buffer_move_consumer(struct lttng_ust_lib_ring_buffer *buf, unsigned long consumed_new, struct lttng_ust_shm_handle *handle);