From: David Ahern <dsahern@gmail.com>
To: Junjie Qian <junjie.qian@yahoo.com>,
"linux-perf-users@vger.kernel.org"
<linux-perf-users@vger.kernel.org>
Subject: Re: Profile the waiting time for lock or lock stats for one application
Date: Wed, 26 Feb 2014 20:29:48 -0700 [thread overview]
Message-ID: <530EB12C.9020407@gmail.com> (raw)
In-Reply-To: <1393471039.86366.YahooMailNeo@web124905.mail.ne1.yahoo.com>
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
next prev parent reply other threads:[~2014-02-27 3:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-25 18:13 Profile the waiting time for lock or lock stats for one application Junjie Qian
2014-02-27 3:17 ` Junjie Qian
2014-02-27 3:29 ` David Ahern [this message]
2014-02-28 20:00 ` Junjie Qian
2014-02-28 18:43 ` Rodrigo Campos
2014-03-01 15:30 ` David Ahern
2014-03-01 16:03 ` Rodrigo Campos
2014-03-03 16:11 ` Junjie Qian
2014-03-03 16:23 ` Rodrigo Campos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=530EB12C.9020407@gmail.com \
--to=dsahern@gmail.com \
--cc=junjie.qian@yahoo.com \
--cc=linux-perf-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.