X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lttng-sessiond%2Fmain.c;h=6f9ee8dc43b96b4300bcd200d8a2a394ef66a4fe;hb=0bf4e1402bb82940004908d5d41a12b7fd308487;hp=db0d661016889924c3310e42eec5f1a931e1f834;hpb=bb3037a945835e64e852fbadc9c0e9f0d8a79b01;p=lttng-tools.git diff --git a/lttng-sessiond/main.c b/lttng-sessiond/main.c index db0d66101..6f9ee8dc4 100644 --- a/lttng-sessiond/main.c +++ b/lttng-sessiond/main.c @@ -1220,6 +1220,8 @@ static void *thread_manage_apps(void *data) * the event at poll_wait. */ if (revents & (LPOLLERR | LPOLLHUP | LPOLLRDHUP)) { + tracepoint(ust_unregister_start); + /* Removing from the poll set */ ret = lttng_poll_del(&events, pollfd); if (ret < 0) { @@ -1228,6 +1230,8 @@ static void *thread_manage_apps(void *data) /* Socket closed on remote end. */ ust_app_unregister(pollfd); + + tracepoint(ust_unregister_stop); break; } }