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
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to