Skip to contentSkip to conversation

Questions about Xenoprof hypercall_page

DISCUSSION Hashimoto 1 participant 1 message Feb 1, 2009

lore
Share & tools
lore

Hashimoto

author
#0 lore raw

I have a question about Xenoprof.

This is my softwares.
* Gentoo Linux 2.6.18
* Xen 3.2.1
* Xenoprof 0.9.3

I used Xenoprof as following.

# opcontrol --init
# opcontrol --vmlinux=/boot/vmlinux-2.6.18-xen0
# opcontrol --xen=/boot/xen-syms-3.2.1
# opcontrol --reset
# opcontrol --passive-domains=1
--passive-images=/boot/vmlinux-2.6.18-xenU --start
/usr/local/bin/opcontrol: line 1276: echo: write error: Invalid argument
/usr/local/bin/opcontrol: line 1119: echo: write error: Invalid argument
Using 2.6+ Oprofile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log
Daemon started.
Profiler running.
$ execute some tasks in DomU
# opcontrol --stop
# opcontrol --dump

And Xenoprof report is as following.

$ opreport -l | head -n 20
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples  %        image name               app name                 symbol name
2104     84.1263  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
hypercall_page
102       4.0784  libpython2.5.so.1.0      libpython2.5.so.1.0      (no symbols)
61        2.4390  libc-2.6.1.so            libc-2.6.1.so            (no symbols)
9         0.3599  screen                   screen                   (no symbols)
8         0.3199  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
__ext3_get_inode_loc
8         0.3199  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
generic_file_buffered_write
8         0.3199  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
journal_add_journal_head
8         0.3199  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
raw_safe_halt
7         0.2799  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
__generic_file_aio_write_nolock
7         0.2799  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
bit_waitqueue
7         0.2799  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      schedule
5         0.1999  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      cpu_idle
5         0.1999  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      ide_outb
5         0.1999  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      journal_stop
5         0.1999  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      profile_hit
5         0.1999  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      xen_idle
4         0.1599  oprofile                 oprofile                 (no symbols)

It seems that 'hypercall_page' consumes most of time. What does 'hypercall_page' mean?
How can I profile other events in Xen/Linux? Regards.

Signature · 2 lines
Kouki Hashimoto
[email protected]