From: Lv Z. <zh...@sh...> - 2005-08-15 01:57:21
|
Hi, Ming Make sure following configuration items enabled for your kernel then run oprofile --callgraph again. oprofile: Profiling support -> Profiling support -> OProfile system profiling frame pointers: Kernel hacking -> Kernel debugging -> Compile the kernel with frame pointers Best regards ----- Original Message ----- From: "Ming Zhang" <mi...@el...> To: "oprofile" <opr...@li...> Sent: Friday, August 12, 2005 2:40 AM Subject: how to explain the call graph > I wonder how to explain this call graph output. > > i have oprofile configured as this > > [root@sc420 root]# opcontrol --status > Daemon running: pid 3469 > Separate options: library kernel > vmlinux file: /usr/src/linux-2.6.12.3/vmlinux > Image filter: none > Call-graph depth: 5 > > then i ran this to get file x. > > opreport -t0.1 -l -c -p /lib/modules/2.6.12.3/kernel/ -o x > > for example, i saw this schedule take 5%. but then how can i tell who > and where this schedule() is called? > > -------------------------------------------------------------------------- ----- > 54820 5.6787 vmlinux vmlinux > schedule > 54820 100.000 vmlinux vmlinux > schedule [self] > > > thanks a lot! > > Ming > > |