X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-events.c;h=ec5d78f50527056f1f50adb2e2d4df40da47b630;hb=b869b5ae63308b47d929a7859623054e685c6332;hp=46ba11d5f12e74935871efcb847c1160d020da96;hpb=ff51799104d4b7255b7e00c839260fd4650e5113;p=lttng-ust.git diff --git a/liblttng-ust/lttng-events.c b/liblttng-ust/lttng-events.c index 46ba11d5..ec5d78f5 100644 --- a/liblttng-ust/lttng-events.c +++ b/liblttng-ust/lttng-events.c @@ -237,8 +237,10 @@ int lttng_session_enable(struct lttng_session *session) fields, &chan->id, &chan->header_type); - if (ret) + if (ret) { + DBG("Error (%d) registering channel to sessiond", ret); return ret; + } } CMM_ACCESS_ONCE(session->active) = 1; @@ -384,6 +386,7 @@ int lttng_event_create(const struct lttng_event_desc *desc, uri, &event->id); if (ret < 0) { + DBG("Error (%d) registering event to sessiond", ret); goto sessiond_register_error; } }