From: glmeocci@gmail.com (Gian Lorenzo Meocci)
Subject: [ltt-dev] trace a futex
Date: Tue, 2 Dec 2008 21:15:00 +0100 [thread overview]
Message-ID: <8d94e9280812021215m6a63d6c2l4e64acd26274953d@mail.gmail.com> (raw)
In-Reply-To: <20081202195015.GA25792@Krystal>
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
next prev parent reply other threads:[~2008-12-02 20:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 19:42 Gian Lorenzo Meocci
2008-12-02 19:50 ` Mathieu Desnoyers
2008-12-02 20:15 ` Gian Lorenzo Meocci [this message]
2008-12-02 21:55 ` Mathieu Desnoyers
2008-12-02 22:10 ` Jan Kiszka
2008-12-02 22:10 ` Jan Kiszka
2008-12-02 22:10 ` Jan Kiszka
2008-12-03 5:26 ` Mathieu Desnoyers
2008-12-03 5:26 ` Mathieu Desnoyers
2008-12-03 5:26 ` Mathieu Desnoyers
2008-12-03 18:01 ` K.Prasad
2008-12-04 8:53 ` Peter Zijlstra
2008-12-05 12:28 ` Mathieu Desnoyers
2008-12-05 15:58 ` Peter Zijlstra
2008-12-05 16:01 ` Peter Zijlstra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8d94e9280812021215m6a63d6c2l4e64acd26274953d@mail.gmail.com \
--to=glmeocci@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox