Interface ABI with probe list
[deliverable/lttng-modules.git] / ltt-events.h
index 0d68e16ae4111c15b190dd75d7360cd34aa01d0e..e8171b032110138198e4405a30de191b2757912e 100644 (file)
@@ -42,6 +42,8 @@ struct ltt_channel_ops {
        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);
+       void (*event_write)(struct lib_ring_buffer_ctx *ctx, const void *src,
+                           size_t len);
 };
 
 struct ltt_channel {
@@ -86,7 +88,8 @@ struct ltt_event *ltt_event_create(struct ltt_channel *chan,
                                   char *name,
                                   enum instrum_type itype,
                                   void *probe, void *filter);
-int _ltt_event_destroy(struct ltt_event *event);
+int _ltt_event_unregister(struct ltt_event *event);
+void _ltt_event_destroy(struct ltt_event *event);
 
 void ltt_transport_register(struct ltt_transport *transport);
 void ltt_transport_unregister(struct ltt_transport *transport);
@@ -94,4 +97,11 @@ void ltt_transport_unregister(struct ltt_transport *transport);
 int ltt_debugfs_abi_init(void);
 void ltt_debugfs_abi_exit(void);
 
+int ltt_probe_register(const char *name, void *cb);
+void ltt_probe_unregister(const char *name);
+void *ltt_probe_get(const char *name);
+void ltt_probe_put(void *cb);
+int ltt_probes_init(void);
+void ltt_probes_exit(void);
+
 #endif /* _LTT_EVENTS_H */
This page took 0.027753 seconds and 5 git commands to generate.