So I do get the seinfeld.mpg correctly. And I can actually play with xine. Also I do get the profiled result.
Here are top 10 application and symbols that consumed resources.
atsci_equalizer_lms 26.466% .loop from libgnuradio-core.so.0.0.0 12.52% atsci_single_viterbi 10.5% .cleanup from libgnuradio-core.so.0.0.0 6.7% __ieee754_atan2 from libm-2.5.so 5.53 %
.loop2 from libgnuradio-core.so.0.0.0 5.5% memcpy from libc-2.5 so 3.03% gr_freq_xlating_fir_filter_ccf 2.68% atsc_fpll 1.8%
--------------------- After this point, I wanted to find out who called .loop and .cleanup and .loop2, etc.
So I tried callgraph function for oprofile.
I recomplied gnuradio code with ./configure --with-gprof (since this sets -pg option)
And then did opcontrol --setup --vmlinux=my_path_to_vmlinux/vmlinux
opcontrol --start
opcontrol --reset
opcontrol --callgraph=5
I do get seinfeld2.mpg correctly.
But opreport does not give me any depth. It just says every symbol calls [self]
Do you have any idea what I should do? The machine I tried is 64bit server with 4 cores. for which uname -a gives Linux 2.6.18-53.1.19.el5 #1 SMP Tue Apr 22 03:01:10 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux