perf lock record fails

From: David Ahern
Date: Fri Jul 06 2012 - 13:27:37 EST

What config options need to be enabled for 'perf lock record' to work? I tried a number of custom builds and stock Fedora kernels. I always get:

$ perf lock record -- sleep 1
invalid or unsupported event: 'lock:lock_acquire'

Though trace_lock_acquire exists, CONFIG_LOCKDEP is set, and ftrace is enabled.

What am I missing?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at