From: qi q. <qiy...@ho...> - 2005-06-17 07:12:14
|
I generated the callgraph by opreport -c (Oprofile0.9.1cvs), but the output is shocked me very much as follows CPU: CPU with timer interrupt, speed 0 MHz (estimated) Profiling through timer interrupt samples % symbol name ------------------------------------------------------------------------------- 5 13.8889 lookup_minimal_symbol_by_pc_section 5 100.000 lookup_minimal_symbol_by_pc_section [self] ------------------------------------------------------------------------------- 2 5.5556 bfd_elf32_slurp_symbol_table 2 100.000 bfd_elf32_slurp_symbol_table [self] ------------------------------------------------------------------------------- 2 5.5556 compare_minimal_symbols 2 100.000 compare_minimal_symbols [self] ------------------------------------------------------------------------------- 2 5.5556 d_demangle 2 100.000 d_demangle [self] ------------------------------------------------------------------------------- ................................... .................................. all the funtions are self called! the steps I run oprofile is like this: #!/bin/sh opcontrol --init opcontrol --image=/home/qiyao/gdb-6.3.50.20050419/gdb/gdb opcontrol --no-vmlinux opcontrol --event=default #opcontrol --reset opcontrol --start /home/qiyao/gdb-6.3.50.20050419/gdb/gdb -x ./gdb_testsuite_break_factorial opcontrol --dump opcontrol --stop opcontrol -h opreport -c > gdb_testsuite_break.callgraph the gdb_testsuite_break_factorial just tell gdb to do some actions and then exit from gdb. I'm unsure what is the problem. Am I missing something?Would anyone like to take some look? Any suggestion and comments are highly appreciated! Best Regards --------- Qi Yao _________________________________________________________________ 免费下载 MSN Explorer: http://explorer.msn.com/lccn |