[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xenoprof problems in pv_ops (xen4.0)

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Mingfan Lu <mingfan.lu@xxxxxxxxx>
  • Date: Tue, 8 Jun 2010 11:51:52 +0800
  • Delivery-date: Mon, 07 Jun 2010 20:53:19 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Hb7tg0Ok0LP+wcJh3/rKTFGCCtdJ+hvKhcYqzaw8XffRL4EsnROLqAQtxC0/TXmNr9 rdHtn6V8O6vIyseb9Y5yvnXpTdGar2uzS1VROqCFeIMKZrate9DhaiOj9Y5jyr9jc3kB qbAy0MzhgjsJw85lsV3IJ9oKblJXh7GiZuJqo=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


I want to use xenoprof to profile the overhead of the hypervisor. 
I patched the oprofile-0.9.5 using the patch from xenoprof.sourceforge.net

Xen-4.0.0 + (pv_ops Jeremy's branch) Dom0 + (DOMU)
My platform is NHM-EP (Intel(R) Xeon(R) CPU           X5570  @ 2.93GHz)

My problems are:
  • In DOM0, I can get event list using opcontrol -l, while, after initialization (opcontrol --init),  When I start daemon this in DOM0, I got the following error messages :

opcontrol --start-daemon --event=CPU_CLK_UNHALTED:1000000 --xen=/boot/xen-syms-4.0.0 --vmlinux=/boot/vmlinux- --passive-domains=1 --passive-images=/boot/vmlinux-

 /usr/local/bin/opcontrol: line 1399: /dev/oprofile/passive_domains: Permission denied [Comments: I can't create a file in /dev/oprofile/passive_domains manually]

 Error: counter 0 not available nmi_watchdog using this resource ? Try: [Comments: there is not /dev/oprofile/0 in /dev/oprofile]

opcontrol --deinit

echo 0 > /proc/sys/kernel/nmi_watchdog  [Comments: I do it using this instructions, but it does not work; and I find that the /proc/sys/kernel/nmi_whatchdog is 0 already]

  • In DOMU, opcontrol -l , it returens:
    using timer interrupt 
My questions are:

    1. Could xenoprof works in PV mode or is there any patches to enable it

    2. Why my domu could not report the correct event list.

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.