extern int lttng_ustctl_get_mmap_read_offset(
struct lttng_ust_shm_handle *handle,
struct lttng_ust_lib_ring_buffer *buf, unsigned long *off);
extern int lttng_ustctl_get_mmap_read_offset(
struct lttng_ust_shm_handle *handle,
struct lttng_ust_lib_ring_buffer *buf, unsigned long *off);