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 [email protected] http://milianw.de
signature.asc
Description: This is a digitally signed message part.
