linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* using perf lock
@ 2012-05-23 15:42 Hank
  2012-05-24  0:28 ` Namhyung Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Hank @ 2012-05-23 15:42 UTC (permalink / raw)
  To: linux-perf-users

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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: using perf lock
  2012-05-23 15:42 using perf lock Hank
@ 2012-05-24  0:28 ` Namhyung Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Namhyung Kim @ 2012-05-24  0:28 UTC (permalink / raw)
  To: Hank; +Cc: linux-perf-users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-24  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23 15:42 using perf lock Hank
2012-05-24  0:28 ` Namhyung Kim

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).