Allow consumer to flush buffers, fix alignment bug
[lttng-ust.git] / include / lttng / ust-events.h
index 95af893a6f5e73adc5810adff62e1c8181c2a9fc..cb794b40a511efc0c0f1fd1989c4aace3d2940b4 100644 (file)
@@ -23,6 +23,17 @@ struct ltt_channel;
 struct ltt_session;
 struct lttng_ust_lib_ring_buffer_ctx;
 
+/*
+ * LTTng client type enumeration. Used by the consumer to map the
+ * callbacks from its own address space.
+ */
+enum lttng_client_types {
+       LTTNG_CLIENT_METADATA = 0,
+       LTTNG_CLIENT_DISCARD = 1,
+       LTTNG_CLIENT_OVERWRITE = 2,
+       LTTNG_NR_CLIENT_TYPES,
+};
+
 /* Type description */
 
 /* Update the astract_types name table in lttng-types.c along with this enum */
@@ -328,4 +339,11 @@ int lttng_add_procname_to_ctx(struct lttng_ctx **ctx);
 void lttng_context_vtid_reset(void);
 void lttng_context_vpid_reset(void);
 
+const struct lttng_ust_lib_ring_buffer_config *lttng_client_callbacks_metadata;
+const struct lttng_ust_lib_ring_buffer_config *lttng_client_callbacks_discard;
+const struct lttng_ust_lib_ring_buffer_config *lttng_client_callbacks_overwrite;
+
+struct cds_list_head ltt_transport_list;
+struct ltt_transport *ltt_transport_find(const char *name);
+
 #endif /* _UST_LTTNG_EVENTS_H */
This page took 0.023635 seconds and 5 git commands to generate.