-static inline
-void *ustctl_get_mmap_base(struct shm_handle *handle,
- struct lib_ring_buffer *buf)
-{
- return NULL;
-}
-static inline
-int ustctl_get_mmap_read_offset(struct shm_handle *handle,
- struct lib_ring_buffer *buf, unsigned long *off)
-{
- return -ENOSYS;
-}
-static inline
-int ustctl_get_subbuf_size(struct shm_handle *handle,
- struct lib_ring_buffer *buf, unsigned long *len)
-{
- return -ENOSYS;
-}
-static inline
-int ustctl_get_padded_subbuf_size(struct shm_handle *handle,
- struct lib_ring_buffer *buf, unsigned long *len)
-{
- return -ENOSYS;
-}
-static inline
-int ustctl_get_next_subbuf(struct shm_handle *handle,
- struct lib_ring_buffer *buf)
-{
- return -ENOSYS;
-}
-static inline
-int ustctl_put_next_subbuf(struct shm_handle *handle,
- struct lib_ring_buffer *buf)
-{
- return -ENOSYS;
-}
+void *ustctl_get_mmap_base(struct lttng_ust_shm_handle *handle,
+ struct lttng_ust_lib_ring_buffer *buf);
+int ustctl_get_mmap_read_offset(struct lttng_ust_shm_handle *handle,
+ struct lttng_ust_lib_ring_buffer *buf, unsigned long *off);
+int ustctl_get_subbuf_size(struct lttng_ust_shm_handle *handle,
+ struct lttng_ust_lib_ring_buffer *buf, unsigned long *len);
+int ustctl_get_padded_subbuf_size(struct lttng_ust_shm_handle *handle,
+ struct lttng_ust_lib_ring_buffer *buf, unsigned long *len);
+int ustctl_get_next_subbuf(struct lttng_ust_shm_handle *handle,
+ struct lttng_ust_lib_ring_buffer *buf);
+int ustctl_put_next_subbuf(struct lttng_ust_shm_handle *handle,
+ struct lttng_ust_lib_ring_buffer *buf);