Hi, On Wed, 23 May 2012 15:42:42 +0000 (UTC), Hank wrote: > I've been trying to use perf lock command on my Ubuntu 12.04, but I'm getting > this error: > > invalid or unsupported event: 'lock:lock_acquire' > > What might be the problem? Should I get the kernel source code? >
Maybe due to the kernel was built without CONFIG_LOCKDEP and/or CONFIG_LOCK_STAT. You can grep it from /boot/config-$(uname -r). If so, you need to rebuild the kernel. Thanks, Namhyung -- 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