perf mem: invalid or unsupported event: 'cpu/mem-loads/pp'
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
Signature · 3 lines
Milian Wolff [email protected] http://milianw.de
Quoted 4 lines · Milian Wolff
Hey there,
I just found perf mem in the output of perf help and wanted to try it:
Quoted 8 lines
$ perf mem record ls invalid or unsupported event: 'cpu/mem-loads/pp' Run 'perf list' for a list of valid eventsusage: 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
Quoted 12 lines · On Tuesday 23 July 2013 11:46:49 Michael Ellerman wrote:
Quoted 11 lines · Milian Wolff
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 eventsusage: perf record [<options>] [<command>]
...
Quoted 6 lines
Quoted 1 line
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/eventsAssuming 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
Signature · 3 lines
Milian Wolff [email protected] http://milianw.de