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 */
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;
};
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);