Lock profiling in 2.6 linux kernel -


How can I do lock profiling (spin and other types of lock) in the 2.6 kernel Linux? I want to get a lock dispute number for some locks which I have added to my module. Is there a .config option that I can enable and get profiles or other tools?

Andrew thanks for good indicator.

It seems that oprofile can not lock data. CONFIG_LOCK_STAT exists only after the 2.6.23 kernel. Whereas my kernel version is 2.6.16. If the kernel version & lt; If there is 2.6.23 then the palm () option is the palm () option.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -