* perf mem: invalid or unsupported event: 'cpu/mem-loads/pp'
@ 2013-07-22 17:34 Milian Wolff
2013-07-23 1:46 ` Michael Ellerman
0 siblings, 1 reply; 3+ messages in thread
From: Milian Wolff @ 2013-07-22 17:34 UTC (permalink / raw)
To: linux-perf-users
Hey there,
I just found perf mem in the output of perf help and wanted to try it:
$ perf mem record ls
invalid or unsupported event: 'cpu/mem-loads/pp'
Run 'perf list' for a list of valid events
usage: perf record [<options>] [<command>]
...
Am I missing a kernel configuration? Or what is going on here?
Cheers
--
Milian Wolff
mail@milianw.de
http://milianw.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: perf mem: invalid or unsupported event: 'cpu/mem-loads/pp'
2013-07-22 17:34 perf mem: invalid or unsupported event: 'cpu/mem-loads/pp' Milian Wolff
@ 2013-07-23 1:46 ` Michael Ellerman
2015-06-14 12:06 ` Milian Wolff
0 siblings, 1 reply; 3+ messages in thread
From: Michael Ellerman @ 2013-07-23 1:46 UTC (permalink / raw)
To: Milian Wolff; +Cc: linux-perf-users
On Mon, 2013-07-22 at 19:34 +0200, Milian Wolff wrote:
> Hey there,
>
> I just found perf mem in the output of perf help and wanted to try it:
>
> $ perf mem record ls
> invalid or unsupported event: 'cpu/mem-loads/pp'
> Run 'perf list' for a list of valid events
>
> usage: perf record [<options>] [<command>]
> ...
>
> Am I missing a kernel configuration? Or what is going on here?
You need a kernel that has mem-loads in /sys/bus/event_source/devices/cpu/events
Assuming you're on x86 you'll need a 3.10 or later kernel.
cheers
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: perf mem: invalid or unsupported event: 'cpu/mem-loads/pp'
2013-07-23 1:46 ` Michael Ellerman
@ 2015-06-14 12:06 ` Milian Wolff
0 siblings, 0 replies; 3+ messages in thread
From: Milian Wolff @ 2015-06-14 12:06 UTC (permalink / raw)
To: Michael Ellerman; +Cc: linux-perf-users
[-- Attachment #1: Type: text/plain, Size: 927 bytes --]
On Tuesday 23 July 2013 11:46:49 Michael Ellerman wrote:
> On Mon, 2013-07-22 at 19:34 +0200, Milian Wolff wrote:
> > Hey there,
> >
> > I just found perf mem in the output of perf help and wanted to try it:
> >
> > $ perf mem record ls
> > invalid or unsupported event: 'cpu/mem-loads/pp'
> > Run 'perf list' for a list of valid events
> >
> > usage: perf record [<options>] [<command>]
> > ...
> >
> > Am I missing a kernel configuration? Or what is going on here?
>
> You need a kernel that has mem-loads in
> /sys/bus/event_source/devices/cpu/events
>
> Assuming you're on x86 you'll need a 3.10 or later kernel.
Sorry for the long delay. I wanted to try it out again today, but I still get
the same error message above. This is with a 4.0.5 kernel and perf 4.0.3.
What is required to get mem-loads in the path specified above?
Bye
--
Milian Wolff
mail@milianw.de
http://milianw.de
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-14 12:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-22 17:34 perf mem: invalid or unsupported event: 'cpu/mem-loads/pp' Milian Wolff
2013-07-23 1:46 ` Michael Ellerman
2015-06-14 12:06 ` Milian Wolff
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).