linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Profile the waiting time for lock or lock stats for one application
@ 2014-02-25 18:13 Junjie Qian
  2014-02-27  3:17 ` Junjie Qian
  2014-02-28 18:43 ` Rodrigo Campos
  0 siblings, 2 replies; 9+ messages in thread
From: Junjie Qian @ 2014-02-25 18:13 UTC (permalink / raw)
  To: linux-perf-users@vger.kernel.org

Dear all,

I am working on one project, which tries to profile the lock stats for one application, such as total waiting time for locks or how many locks happens during the execution.

I did some research, which shows "perf lock" may help to report such information, but I am getting the error showing as "tracepoint lock:lock_acquire is not enabled. Are CONFIG_LOCKDEP and CONFIG_LOCK_STAT enabled?". Does this mean, I need to recompile the kernel to have this option?
Could anyone give me some link for this?

I also got this link "http://article.gmane.org/gmane.linux.kernel.perf.user/770/match=perf+lock", talking about profile the sleep times, but I cannot find how to use this.

Any help would be great appreciated.

Thanks!
Best
Junjie

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

end of thread, other threads:[~2014-03-03 16:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 18:13 Profile the waiting time for lock or lock stats for one application Junjie Qian
2014-02-27  3:17 ` Junjie Qian
2014-02-27  3:29   ` David Ahern
2014-02-28 20:00     ` Junjie Qian
2014-02-28 18:43 ` Rodrigo Campos
2014-03-01 15:30   ` David Ahern
2014-03-01 16:03     ` Rodrigo Campos
2014-03-03 16:11       ` Junjie Qian
2014-03-03 16:23         ` Rodrigo Campos

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).