new ltt-usertrace : fix sem_post and dead parent
[lttv.git] / ltt-usertrace / sample-thread-fast.c
index 6376f37675894ae81cb1f03fe47f1a5996805de2..d81255fc0d5c3c695dee1082032a7bf29b6493ca 100644 (file)
@@ -17,7 +17,7 @@ void *thr1(void *arg)
        printf("thread 1, thread id : %lu, pid %lu\n", pthread_self(), getpid());
 
        for(i=0; i<100000; i++) {
-               trace_user_generic_string("Hello world! Have a nice day.");
+//             trace_user_generic_string("Hello world! Have a nice day.");
        }
        pthread_exit((void*)1);
 }
@@ -31,7 +31,7 @@ void *thr2(void *arg)
        printf("thread 2, thread id : %lu, pid %lu\n", pthread_self(), getpid());
 
        for(i=0; i<100000; i++) {
-//             trace_user_generic_string("Hello world! Have a nice day.");
+               trace_user_generic_string("Hello world! Have a nice day.");
        }
        /* This thread is a bad citizen : returning like this will cause its cancel
         * routines not to be executed. This is still detected by the tracer, but only
This page took 0.031217 seconds and 4 git commands to generate.