LTTng modules now builds again
[lttng-modules.git] / ltt-events.h
index 6711341c86f60ac7d13eb952d706a0174b9a062e..0d68e16ae4111c15b190dd75d7360cd34aa01d0e 100644 (file)
@@ -14,6 +14,7 @@
 
 struct ltt_channel;
 struct ltt_session;
+struct lib_ring_buffer_ctx;
 
 /*
  * ltt_event structure is referred to by the tracing fast path. It must be
@@ -38,7 +39,9 @@ struct ltt_channel_ops {
                                unsigned int read_timer_interval);
        void (*channel_destroy)(struct channel *chan);
        struct lib_ring_buffer *(*buffer_read_open)(struct channel *chan);
-       struct lib_ring_buffer *(*buffer_read_close)(struct lib_ring_buffer *buf);
+       void (*buffer_read_close)(struct lib_ring_buffer *buf);
+       int (*event_reserve)(struct lib_ring_buffer_ctx *ctx);
+       void (*event_commit)(struct lib_ring_buffer_ctx *ctx);
 };
 
 struct ltt_channel {
@@ -88,4 +91,7 @@ int _ltt_event_destroy(struct ltt_event *event);
 void ltt_transport_register(struct ltt_transport *transport);
 void ltt_transport_unregister(struct ltt_transport *transport);
 
+int ltt_debugfs_abi_init(void);
+void ltt_debugfs_abi_exit(void);
+
 #endif /* _LTT_EVENTS_H */
This page took 0.022989 seconds and 4 git commands to generate.