Fix missing tracepoints during merge
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 15 Sep 2011 15:38:56 +0000 (11:38 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Thu, 15 Sep 2011 15:38:56 +0000 (11:38 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c

index 9ffeb621354179e083844d1450fbdfe126ffa9a4..92dffaa66122405bbeab9245f8904c82fb6350b6 100644 (file)
@@ -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 {
This page took 0.026119 seconds and 4 git commands to generate.