projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
comment field id of LttvTraceHook
[lttv.git]
/
ltt-usertrace
/
sample-thread-fast.c
diff --git
a/ltt-usertrace/sample-thread-fast.c
b/ltt-usertrace/sample-thread-fast.c
index 6376f37675894ae81cb1f03fe47f1a5996805de2..46ffbd12ff3f5b27df1e307763204cf6e37fd1c0 100644
(file)
--- a/
ltt-usertrace/sample-thread-fast.c
+++ b/
ltt-usertrace/sample-thread-fast.c
@@
-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++) {
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 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.022887 seconds
and
4
git commands to generate.