Move the getcpu plugin implementation to liblttn-ust-common
[lttng-ust.git] / src / lib / lttng-ust / lttng-rb-clients.h
index afdbd05775baee7dacc39c8298a829f7aefa8195..5e09c2b2c8de188b2ceafab09ce7236a8e563f9c 100644 (file)
 #include "common/ringbuffer/ringbuffer-config.h"
 
 struct lttng_ust_client_lib_ring_buffer_client_cb {
-       struct lttng_ust_lib_ring_buffer_client_cb parent;
+       struct lttng_ust_ring_buffer_client_cb parent;
 
-       int (*timestamp_begin) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_lib_ring_buffer_channel *chan,
+       int (*timestamp_begin) (struct lttng_ust_ring_buffer *buf,
+                       struct lttng_ust_ring_buffer_channel *chan,
                        uint64_t *timestamp_begin);
-       int (*timestamp_end) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_lib_ring_buffer_channel *chan,
+       int (*timestamp_end) (struct lttng_ust_ring_buffer *buf,
+                       struct lttng_ust_ring_buffer_channel *chan,
                        uint64_t *timestamp_end);
-       int (*events_discarded) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_lib_ring_buffer_channel *chan,
+       int (*events_discarded) (struct lttng_ust_ring_buffer *buf,
+                       struct lttng_ust_ring_buffer_channel *chan,
                        uint64_t *events_discarded);
-       int (*content_size) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_lib_ring_buffer_channel *chan,
+       int (*content_size) (struct lttng_ust_ring_buffer *buf,
+                       struct lttng_ust_ring_buffer_channel *chan,
                        uint64_t *content_size);
-       int (*packet_size) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_lib_ring_buffer_channel *chan,
+       int (*packet_size) (struct lttng_ust_ring_buffer *buf,
+                       struct lttng_ust_ring_buffer_channel *chan,
                        uint64_t *packet_size);
-       int (*stream_id) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_lib_ring_buffer_channel *chan,
+       int (*stream_id) (struct lttng_ust_ring_buffer *buf,
+                       struct lttng_ust_ring_buffer_channel *chan,
                        uint64_t *stream_id);
-       int (*current_timestamp) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_lib_ring_buffer_channel *chan,
+       int (*current_timestamp) (struct lttng_ust_ring_buffer *buf,
+                       struct lttng_ust_ring_buffer_channel *chan,
                        uint64_t *ts);
-       int (*sequence_number) (struct lttng_ust_lib_ring_buffer *buf,
-               struct lttng_ust_lib_ring_buffer_channel *chan, uint64_t *seq);
-       int (*instance_id) (struct lttng_ust_lib_ring_buffer *buf,
-                       struct lttng_ust_lib_ring_buffer_channel *chan, uint64_t *id);
+       int (*sequence_number) (struct lttng_ust_ring_buffer *buf,
+               struct lttng_ust_ring_buffer_channel *chan, uint64_t *seq);
+       int (*instance_id) (struct lttng_ust_ring_buffer *buf,
+                       struct lttng_ust_ring_buffer_channel *chan, uint64_t *id);
 };
 
 /*
@@ -79,16 +79,16 @@ void lttng_ring_buffer_metadata_client_exit(void)
        __attribute__((visibility("hidden")));
 
 
-void lttng_ust_fixup_ring_buffer_client_overwrite_tls(void)
+void lttng_ust_ring_buffer_client_overwrite_alloc_tls(void)
        __attribute__((visibility("hidden")));
 
-void lttng_ust_fixup_ring_buffer_client_overwrite_rt_tls(void)
+void lttng_ust_ring_buffer_client_overwrite_rt_alloc_tls(void)
        __attribute__((visibility("hidden")));
 
-void lttng_ust_fixup_ring_buffer_client_discard_tls(void)
+void lttng_ust_ring_buffer_client_discard_alloc_tls(void)
        __attribute__((visibility("hidden")));
 
-void lttng_ust_fixup_ring_buffer_client_discard_rt_tls(void)
+void lttng_ust_ring_buffer_client_discard_rt_alloc_tls(void)
        __attribute__((visibility("hidden")));
 
 #endif /* _LTTNG_RB_CLIENT_H */
This page took 0.025368 seconds and 4 git commands to generate.