X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt-sessiond%2Fmain.c;h=92dffaa66122405bbeab9245f8904c82fb6350b6;hb=a89c7d1bf00d80c342f251e5f85e91a89bb294bf;hp=9ffeb621354179e083844d1450fbdfe126ffa9a4;hpb=dab4c8a1edbae6360d94bda657ee545ec24699b4;p=lttng-tools.git 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 {