From: David Goulet Date: Mon, 5 Dec 2011 19:08:19 +0000 (-0500) Subject: Add UST unregister measures X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=aa231298a7dc89ce486c6b3a3a48d341d25ac0d2;p=lttng-tools.git Add UST unregister measures Signed-off-by: David Goulet --- 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; } }