Implement event notifier group create
[lttng-modules.git] / include / lttng / events.h
index 06bde3207bfa0bc693b4d5380b3e6b0e93d80cc6..1e84000d45f090589f7e82a3d447f88c806f26d8 100644 (file)
@@ -557,6 +557,16 @@ struct lttng_session {
        char creation_time[LTTNG_KERNEL_SESSION_CREATION_TIME_ISO8601_LEN];
 };
 
+struct lttng_event_notifier_group {
+       struct file *file;              /* File associated to event notifier group */
+       struct list_head node;          /* event notifier group list */
+       struct lttng_ctx *ctx;          /* Contexts for filters. */
+       struct lttng_channel_ops *ops;
+       struct lttng_transport *transport;
+       struct channel *chan;           /* Ring buffer channel for event notifier group. */
+       struct lib_ring_buffer *buf;    /* Ring buffer for event notifier group. */
+};
+
 struct lttng_metadata_cache {
        char *data;                     /* Metadata cache */
        unsigned int cache_alloc;       /* Metadata allocated size (bytes) */
@@ -592,6 +602,10 @@ int lttng_session_metadata_regenerate(struct lttng_session *session);
 int lttng_session_statedump(struct lttng_session *session);
 void metadata_cache_destroy(struct kref *kref);
 
+struct lttng_event_notifier_group *lttng_event_notifier_group_create(void);
+void lttng_event_notifier_group_destroy(
+               struct lttng_event_notifier_group *event_notifier_group);
+
 struct lttng_channel *lttng_channel_create(struct lttng_session *session,
                                       const char *transport_name,
                                       void *buf_addr,
This page took 0.023884 seconds and 4 git commands to generate.