linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf for analyzing userspace contention
@ 2011-10-14  6:36 Roland Dreier
  2011-10-14  6:58 ` Maucci, Cyrille
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Roland Dreier @ 2011-10-14  6:36 UTC (permalink / raw)
  To: linux-perf-users

Hi everyone,

Hope this question from a kernel hacker about profiling userspace
isn't too dumb...

Anyway, suppose I have a multithreaded userspace app that uses a bunch of
pthread_mutexes, and I want to figure out which locks are hot and/or heavily
contended.  What's the best way to do that?  Is perf the right, or is there
something better?  (This seems like such an obvious thing to want that there
must be some good way to get this data, I hope)

Thanks!
  Roland

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-10-18  0:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-14  6:36 perf for analyzing userspace contention Roland Dreier
2011-10-14  6:58 ` Maucci, Cyrille
2011-10-14  7:21   ` Roland Dreier
2011-10-14  7:33     ` Maucci, Cyrille
2011-10-14  9:42 ` Stefan Hajnoczi
2011-10-14 16:58   ` Roland Dreier
2011-10-14 21:25 ` David Ahern
2011-10-14 22:43   ` Arnaldo Carvalho de Melo
2011-10-17 23:43 ` Arun Sharma
2011-10-18  0:12   ` David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).