I am using oprofile0.9.7 and oprofile0.9.8 on my machine, and find some issues:
when using opcontrol to do profiling, an error occurs, which saying:
couldn't start oprofiled 
check the log file "/var/lib/oprofile/samples/oprofiled.log"
and the oprofiled.log saying: op_read_device::invalid argument
I tried using yum(0.9.7) and compiling source code(0.9.8) to install oprofile, the phenomenon is the same.
here is my script to run oprofile:
opcontrol --deinit
echo 0 > /proc/sys/kernel/watchdog
opcontrol --init
opcontrol --vmlinux=/usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64.debug/vmlinux
opcontrol --reset
opcontrol --event=CPU_CLK_UNHALTED:5000000
opcontrol -i=all
opcontrol -c=0
opcontrol --buffer-size=384000000
opcontrol --separate=all
opcontrol --start
sleep 150
opcontrol --stop
opcontrol --dump
oparchive -o /tmp/snapshort
opcontrol --shutdown

when using operf, which is recommended. it can't trace single process. the session dir is empty.
and here is my script:
operf --vmlinux=/usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64.debug/vmlinux --events=CPU_CLK_UNHALTED:5000000 --session-dir=/tmp/snapshot --lazy-conversion --verbose=debug $PROFILE_OP;
PROFILE_OP is either --system-wide or -pid=xx

I don't know what is the problem, I installed the program following the installation instructions.
 
Thanks
Mingfei




--