X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=usertrace-fast%2Ftest.c;h=33937f3bef418daa8a4b6e18df5d6ae50c3bd810;hb=51bf1553318c4f651135e0b75c79111a07544ac8;hp=a0509a277bfc63561e004d34d8973519ba8dc842;hpb=b09f3215c7a82327f4e572ad252ebf285ffe4707;p=lttv.git diff --git a/usertrace-fast/test.c b/usertrace-fast/test.c index a0509a27..33937f3b 100644 --- a/usertrace-fast/test.c +++ b/usertrace-fast/test.c @@ -10,7 +10,6 @@ void *thr1(void *arg) { - lttng_thread_init(); printf("thread 1, thread id : %lu, pid %lu\n", pthread_self(), getpid()); while(1) {} @@ -21,8 +20,6 @@ void *thr1(void *arg) void *thr2(void *arg) { - lttng_thread_init(); - while(1) { printf("thread 2, thread id : %lu, pid %lu\n", pthread_self(), getpid()); sleep(2);