linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Namhyung Kim <namhyung.kim@lge.com>
To: Hank <hankendi@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: using perf lock
Date: Thu, 24 May 2012 09:28:09 +0900	[thread overview]
Message-ID: <87fwaq1kyu.fsf@sejong.aot.lge.com> (raw)
In-Reply-To: <loom.20120523T174059-193@post.gmane.org> (Hank's message of "Wed, 23 May 2012 15:42:42 +0000 (UTC)")

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

      reply	other threads:[~2012-05-24  0:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-23 15:42 using perf lock Hank
2012-05-24  0:28 ` Namhyung Kim [this message]

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=87fwaq1kyu.fsf@sejong.aot.lge.com \
    --to=namhyung.kim@lge.com \
    --cc=hankendi@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).