Hello,
 
This is my first post here. Sorry if the issue is to basic for this list.
 
I am tiring to run oprofile on a Blackfin uClinux based system.
I have compiled the oprofile as it is described in the link http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:oprofile&s[]=oprofile
I am compiling some external (from uClinux) software components like the telephony components Asterisk DAHDI etc.
 
When I try to run oprofile I get
 
root@pr1:~> /usr/bin/bfin_opcontrol --init
mkdir: can't create directory '/var/lib/': File exists
root@pr1:~> /usr/bin/bfin_opcontrol --start-daemon &
[1] 469 /usr/bin/bfin_opcontrol --start-daemon
root@pr1:~> Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/oprofiled.log
 
[1] Done                   /usr/bin/bfin_opcontrol --start-daemon
root@pr1:~> /usr/bin/bfin_opcontrol --start
root@pr1:~> /usr/bin/bfin_opcontrol --dump
root@pr1:~> /usr/bin/opreport -l
/usr/bin/opreport error: /var/lib/oprofile/samples/current/{kern}/dahdi/{dep}/{kern}/dahdi/TIMER.0.0.all.all.all: No such device
 
 
in the log I see:
root@pr1:~> cat /var/lib/oprofile/oprofiled.log
oprofiled started Thu May 23 01:37:26 2013
kernel pointer size: 4
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}//usr/lib/asterisk/modules/chan_iax2.so/{dep}/{root}//usr/lib/asterisk/modules/chan_iax2.so/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}//lib/libpthread.so.0/{dep}/{root}//lib/libpthread.so.0/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}//lib/libpthread.so.0/{dep}/{root}//lib/libpthread.so.0/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}//lib/libpthread.so.0/{dep}/{root}//lib/libpthread.so.0/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{kern}/dahdi/{dep}/{kern}/dahdi/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}//lib/libpthread.so.0/{dep}/{root}//lib/libpthread.so.0/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{kern}/dahdi/{dep}/{kern}/dahdi/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}//usr/lib/asterisk/modules/chan_iax2.so/{dep}/{root}//usr/lib/asterisk/modules/chan_iax2.so/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}//lib/libc.so.0/{dep}/{root}//lib/libc.so.0/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{kern}/dahdi/{dep}/{kern}/dahdi/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
oprofiled: open of /var/lib/oprofile/samples/current/{root}/./vmlinux/{dep}/{root}/./vmlinux/TIMER.0.0.all.all.all failed: No such device
 
 
What may be wrong?
 
Thank you!
Dimitar