I'm using oprofile 0.9.4 on a XScale processor. Here's what my "uname -a" says:
Linux manager 126.96.36.199 #2 PREEMPT Fri Aug 1 18:27:26 PDT 2008 armv5tel unknown
I wrote a simple program with the function main() that calls function b() which then calls function c(). I set the callgraph depth to 32 (also tried 5 and 6) but when I run it all I get is information about the main executable a.out:
93 0.1600 a.out /home/foo/a.out
93 100.000 a.out /home/foo/a.out [self]
I was hoping to see breakdown by functions b() and c().
I read through the archives and there was one suggestion about using -fno-omit-frame-pointer when compiling and I tried that too but it didn't help. The kernel was compiled with the CONFIG_FRAME_POINTER. I also tried compiling my program without any optimization and that didn't help either.
See how Windows Mobile brings your life together—at home, work, or on the go.