How can I get sysprof to show me the kernel call tree?
- From: Peter Portante <peter a portante gmail com>
- To: sysprof-list gnome org
- Subject: How can I get sysprof to show me the kernel call tree?
- Date: Thu, 03 May 2012 13:18:02 -0400
Hello Folks,
Just found out about sysprof. Like its presentation and ease of use
installing. Was trivial to get it installed on RHEL 6.2 (v1.1.8).
I am wondering how I can get it to show me the call tree for the kernel.
Here is a screen shot of my system (from sysprof's screen shot):
- - kernel - - 0.00% 94.87%
finish_task_switch 49.09% 49.09%
_spin_unlock_irqrestore 18.93% 18.93%
generic_exec_single 13.45% 13.45%
kvm_arch_vcpu_ioctl_run 3.83% 3.83%
update_shares 1.28% 1.28%
thread_return 0.77% 0.77%
fget_light 0.54% 0.54%
copy_user_generic_string 0.39% 0.39%
do_select 0.24% 0.24%
Here is is what a perf top -d 5 -z is showing me:
PerfTop: 14483 irqs/sec kernel:97.3% exact: 0.0% [1000Hz cycles], (all, 16 CPUs)
----------------------------------------------------------------------------------------------------------------------------------
samples pcnt function DSO
_______ _____ _____________________________ ___________________________________________________________________
28116.00 38.9% _spin_lock /usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64/vmlinux
12143.00 16.8% tg_load_down /usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64/vmlinux
4910.00 6.8% generic_exec_single /usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64/vmlinux
4083.00 5.6% _spin_lock_irq /usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64/vmlinux
3860.00 5.3% load_balance_fair /usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64/vmlinux
2898.00 4.0% update_cfs_load /usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64/vmlinux
2881.00 4.0% _spin_lock_irqsave /usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64/vmlinux
2320.00 3.2% update_shares /usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64/vmlinux
1260.00 1.7% update_cfs_shares /usr/lib/debug/lib/modules/2.6.32-220.el6.x86_64/vmlinux
1020.00 1.4% vmx_vcpu_run /lib/modules/2.6.32-220.el6.x86_64/kernel/arch/x86/kvm/kvm-intel.ko
And here is what a perf record/report sequence is showing me:
- 22.24% qemu-kvm [kernel.kallsyms] [k] _spin_lock ↑
- _spin_lock ▮
- 55.19% double_lock_balance ▒
- thread_return ▒
- 56.90% kvm_vcpu_block ▒
kvm_arch_vcpu_ioctl_run ▒
kvm_vcpu_ioctl ▒
vfs_ioctl ▒
do_vfs_ioctl ▒
sys_ioctl ▒
system_call ▒
__GI___ioctl ▒
- 43.09% schedule_hrtimeout_range ▒
poll_schedule_timeout ▒
do_select ▒
core_sys_select ▒
sys_select ▒
system_call ▒
+ __GI_select ▒
+ 32.46% task_rq_lock ▒
+ 5.94% scheduler_tick ▒
+ 5.72% try_to_wake_up ▒
+ 0.51% thread_return ▒
+ 13.61% qemu-kvm [kernel.kallsyms] [k] tg_load_down ▒
+ 12.19% kvm-pit-wq [kernel.kallsyms] [k] _spin_lock ▒
+ 6.26% qemu-kvm [kernel.kallsyms] [k] generic_exec_single ▒
Thanks ahead of time for any help you can offer.
-peter
[Date Prev][Date Next] [Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]