You are not logged in.
% sudo opcontrol --start && opcontrol --vmlinux=/usr/src/linux-2.6.37-ARCH/vmlinux && opcontrol --start
Password:
Using default event: CPU_CLK_UNHALTED:100000:0:1:1
Error: counter 0 not available%
Any idea what's preventing this from working?
Offline
Possibly a result of shells treating that command like this:
$ (sudo opcontrol --start) && opcontrol --vmlinux=/usr/src/linux-2.6.37-ARCH/vmlinux && opcontrol --start
I.e., the sudo only affects one part of a list of commands.
Offline
I'm sorry, I did mess up the command, and that made it unclear. I should have put sudos everywhere. But that isn't the issue. Even with proper sudos, I get the same stuff.
Offline
Is the oprofile module loaded?
Offline
Yes. Supposedly the message indicates something's missing from /dev/oprofile.
Offline
I've got the exact same problem. /dev/oprofile/0 does not exist.
It seems we are not alone on this one:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615964
Offline
Ok, I've tested with the kernel26-lts and oprofile works, without changing anything else. Should I file a bug report ?
Offline