projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename ltt_events_exit to lttng_ust_events_exit
[lttng-ust.git]
/
libust
/
ltt-events.c
diff --git
a/libust/ltt-events.c
b/libust/ltt-events.c
index c9a7773fa744959c0633750d56f7e06dbd5af5d3..f48d72b6abf95575cbb888e40716b98883e3eb54 100644
(file)
--- a/
libust/ltt-events.c
+++ b/
libust/ltt-events.c
@@
-146,6
+146,9
@@
int pending_probe_fix_events(const struct lttng_event_desc *desc)
ret |= __tracepoint_probe_register(name,
event->desc->probe_callback,
event);
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);
}
ret |= _ltt_event_metadata_statedump(chan->session, chan,
event);
}
@@
-492,7
+495,7
@@
void _ltt_event_destroy(struct ltt_event *event)
int lttng_metadata_printf(struct ltt_session *session,
const char *fmt, ...)
{
int lttng_metadata_printf(struct ltt_session *session,
const char *fmt, ...)
{
- struct lib_ring_buffer_ctx ctx;
+ struct l
ttng_ust_l
ib_ring_buffer_ctx ctx;
struct ltt_channel *chan = session->metadata;
char *str = NULL;
int ret = 0, waitret;
struct ltt_channel *chan = session->metadata;
char *str = NULL;
int ret = 0, waitret;
@@
-998,7
+1001,7
@@
void ltt_transport_unregister(struct ltt_transport *transport)
cds_list_del(&transport->node);
}
cds_list_del(&transport->node);
}
-void ltt_events_exit(void)
+void ltt
ng_ust
_events_exit(void)
{
struct ltt_session *session, *tmpsession;
{
struct ltt_session *session, *tmpsession;
This page took
0.024656 seconds
and
4
git commands to generate.