ret |= __tracepoint_probe_register(name,
event->desc->probe_callback,
event);
+ if (ret)
+ continue;
+ event->id = chan->free_event_id++;
ret |= _ltt_event_metadata_statedump(chan->session, chan,
event);
}
int lttng_metadata_printf(struct ltt_session *session,
const char *fmt, ...)
{
- struct lib_ring_buffer_ctx ctx;
+ struct lttng_ust_lib_ring_buffer_ctx ctx;
struct ltt_channel *chan = session->metadata;
char *str = NULL;
int ret = 0, waitret;
cds_list_del(&transport->node);
}
-void ltt_events_exit(void)
+void lttng_ust_events_exit(void)
{
struct ltt_session *session, *tmpsession;