Add UST unregister measures
authorDavid Goulet <david.goulet@polymtl.ca>
Mon, 5 Dec 2011 19:08:19 +0000 (14:08 -0500)
committerDavid Goulet <david.goulet@polymtl.ca>
Mon, 5 Dec 2011 19:08:19 +0000 (14:08 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng-sessiond/main.c

index db0d661016889924c3310e42eec5f1a931e1f834..6f9ee8dc43b96b4300bcd200d8a2a394ef66a4fe 100644 (file)
@@ -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;
                                }
                        }
This page took 0.027467 seconds and 4 git commands to generate.