New API: lttng_ust_init_thread() for async-signal tracing
[lttng-ust.git] / liblttng-ust / lttng-rb-clients.h
index faa384aeeb136137126d5df601594c88970c774b..4b6999e4e3974a98c0ab1d2e08b24683a98336ee 100644 (file)
@@ -13,30 +13,40 @@ struct lttng_ust_client_lib_ring_buffer_client_cb {
        struct lttng_ust_lib_ring_buffer_client_cb parent;
 
        int (*timestamp_begin) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_shm_handle *handle,
+                       struct lttng_ust_lib_ring_buffer_channel *chan,
                        uint64_t *timestamp_begin);
        int (*timestamp_end) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_shm_handle *handle,
+                       struct lttng_ust_lib_ring_buffer_channel *chan,
                        uint64_t *timestamp_end);
        int (*events_discarded) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_shm_handle *handle,
+                       struct lttng_ust_lib_ring_buffer_channel *chan,
                        uint64_t *events_discarded);
        int (*content_size) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_shm_handle *handle,
+                       struct lttng_ust_lib_ring_buffer_channel *chan,
                        uint64_t *content_size);
        int (*packet_size) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_shm_handle *handle,
+                       struct lttng_ust_lib_ring_buffer_channel *chan,
                        uint64_t *packet_size);
        int (*stream_id) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_shm_handle *handle,
+                       struct lttng_ust_lib_ring_buffer_channel *chan,
                        uint64_t *stream_id);
        int (*current_timestamp) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_shm_handle *handle,
+                       struct lttng_ust_lib_ring_buffer_channel *chan,
                        uint64_t *ts);
        int (*sequence_number) (struct lttng_ust_lib_ring_buffer *buf,
-               struct lttng_ust_shm_handle *handle, uint64_t *seq);
+               struct lttng_ust_lib_ring_buffer_channel *chan, uint64_t *seq);
        int (*instance_id) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_shm_handle *handle, uint64_t *id);
+                       struct lttng_ust_lib_ring_buffer_channel *chan, uint64_t *id);
 };
 
+/*
+ * The ring buffer and counter clients init/exit symbols are private ABI
+ * for liblttng-ust-ctl, which is why they are not hidden.
+ */
+void lttng_ust_ring_buffer_clients_init(void);
+void lttng_ust_ring_buffer_clients_exit(void);
+
+void lttng_ust_counter_clients_init(void);
+void lttng_ust_counter_clients_exit(void);
+
 #endif /* _LTTNG_RB_CLIENT_H */
This page took 0.024037 seconds and 4 git commands to generate.