using perf lock
Hi,
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?
Thanks,
Hi,
Quoted 7 lines · Hank
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