From: David Goulet Date: Thu, 15 Sep 2011 15:38:56 +0000 (-0400) Subject: Fix missing tracepoints during merge X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a89c7d1bf00d80c342f251e5f85e91a89bb294bf;p=lttng-tools.git Fix missing tracepoints during merge Signed-off-by: David Goulet --- diff --git a/ltt-sessiond/main.c b/ltt-sessiond/main.c index 9ffeb6213..92dffaa66 100644 --- a/ltt-sessiond/main.c +++ b/ltt-sessiond/main.c @@ -1005,14 +1005,18 @@ static void *thread_manage_apps(void *data) perror("read apps cmd pipe"); goto error; } + tracepoint(ust_register_read_stop); + tracepoint(ust_register_add_start); /* Register applicaton to the session daemon */ ret = register_traceable_app(&ust_cmd.reg_msg, ust_cmd.sock); if (ret < 0) { /* Only critical ENOMEM error can be returned here */ goto error; } + tracepoint(ust_register_add_stop); + tracepoint(ust_register_done_start); ret = ustctl_register_done(ust_cmd.sock); if (ret < 0) { /* @@ -1032,6 +1036,7 @@ static void *thread_manage_apps(void *data) DBG("Apps with sock %d added to poll set", ust_cmd.sock); } + tracepoint(ust_register_done_stop); break; } } else {