On 2/26/14, 8:17 PM, Junjie Qian wrote:
Hi all,
This is a follow up question about "perf lock".
I recompile the kernel, with both CONFIG_LOCKDEP and CONFIG_LOCK_STAT are "y". But when I
run the command "perf lock record -- sleep 10", the error information still shows as:
tracepoint lock:lock_acquire is not enabled. Are CONFIG_LOCKDEP and
CONFIG_LOCK_STAT enabled?
Could you give me some suggestions on this?
are you running as root? If you are running perf as a normal user is the
events directory accessible -- /sys/kernel/debug/tracing? Does
/sys/kernel/debug/tracing/events/lock exist?
David
--
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