On a working kernel on an Opteron, we have normally 4 directories
in /dev/oprofile :
# ls -ld /dev/oprofile/?
drwxr-xr-x 1 root root 0 15. Nov 12:38 /dev/oprofile/0
drwxr-xr-x 1 root root 0 15. Nov 12:38 /dev/oprofile/1
drwxr-xr-x 1 root root 0 15. Nov 12:38 /dev/oprofile/2
drwxr-xr-x 1 root root 0 15. Nov 12:38 /dev/oprofile/3
With linux-2.6.19-rc5, the first one (0) is missing and we get 1,2,3
That's because 0 was never available. It is used by the NMI watchdog.
The new kernel doesn't give it to oprofile anymore.
Maybe the 'bug' is in oprofile tools, that currently expect to find '0'
Yes, it's likely a user space issue.
-Andi