struct ltt_channel *chan;
const struct lttng_event_desc *desc;
void *filter;
- enum instrum_type itype;
+ enum lttng_kernel_instrumentation instrumentation;
struct list_head list; /* Event list */
int metadata_dumped:1;
};
struct ltt_channel_ops {
struct channel *(*channel_create)(const char *name,
- struct ltt_session *session,
+ struct ltt_channel *ltt_chan,
void *buf_addr,
size_t subbuf_size, size_t num_subbuf,
unsigned int switch_timer_interval,
struct list_head list; /* Channel list */
wait_queue_head_t notify_wait; /* Channel addition notif. waitqueue */
struct ltt_channel_ops *ops;
+ int header_type; /* 0: unset, 1: compact, 2: large */
int metadata_dumped:1;
- int header_type:2; /* 0: unset, 1: compact, 2: large */
};
struct ltt_session {
struct ltt_event *ltt_event_create(struct ltt_channel *chan,
char *name,
- enum instrum_type itype,
+ enum lttng_kernel_instrumentation instrumentation,
const struct lttng_event_desc *event_desc,
void *filter);
-int _ltt_event_unregister(struct ltt_event *event);
-void _ltt_event_destroy(struct ltt_event *event);
+int ltt_event_unregister(struct ltt_event *event);
void ltt_transport_register(struct ltt_transport *transport);
void ltt_transport_unregister(struct ltt_transport *transport);