[ltt-dev] trace a futex

Gian Lorenzo Meocci glmeocci at gmail.com
Tue Dec 2 15:15:00 EST 2008


Hi Mathieu,

thanks for your reply.

I want specify that:
1) I am already patching glibc (and, of course, nptl/pthread_*)
2) I already add two event to pthread_mutex_lock. The first at the
beginning of the function and the second after all return 0 presented
on that function. But those two events are not enough to establish if
a pthread_mutex_lock has been blocking.
In fact I know only the time spent on pthread_mutex_lock. If this time
is little probably I hold the mutex otherwise I was been descheduled.

So thanks a lot again,


-- 
Ing. Gian Lorenzo Meocci
http://www.meocci.it




More information about the lttng-dev mailing list