X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=ltt-events.h;h=8cbe8efb5c691de42d845c9442c9e5aed91c3e8d;hb=8c468a9b91987a71c3e30107c701ca4e935a3fee;hp=304bcb69989b406d8c3b02d76f3320ca5321324c;hpb=f71ecafa46ad2ba9998ba6e4c425645d988d7f8c;p=lttng-modules.git diff --git a/ltt-events.h b/ltt-events.h index 304bcb69..8cbe8efb 100644 --- a/ltt-events.h +++ b/ltt-events.h @@ -210,6 +210,13 @@ struct ltt_channel_ops { int (*is_disabled)(struct channel *chan); }; +struct ltt_transport { + char *name; + struct module *owner; + struct list_head node; + struct ltt_channel_ops ops; +}; + struct ltt_channel { unsigned int id; struct channel *chan; /* Channel buffers */ @@ -221,6 +228,7 @@ struct ltt_channel { unsigned int free_event_id; /* Next event ID to allocate */ struct list_head list; /* Channel list */ struct ltt_channel_ops *ops; + struct ltt_transport *transport; int header_type; /* 0: unset, 1: compact, 2: large */ int metadata_dumped:1; }; @@ -238,13 +246,6 @@ struct ltt_session { int metadata_dumped:1; }; -struct ltt_transport { - char *name; - struct module *owner; - struct list_head node; - struct ltt_channel_ops ops; -}; - struct ltt_session *ltt_session_create(void); int ltt_session_enable(struct ltt_session *session); int ltt_session_disable(struct ltt_session *session);