WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xenoprof problems in 2.6.31.13 pv_ops (xen4.0)
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=n+/NMRDGYV0oIrpUSLvqNXDUGZ+xGFEJEMKcArzu3os=; b=R0KOmbvexz4H2Ig8RQQAtzI20EVecicLQ18E/xUCg9pZC/tqmaoD8XwGY3G0eh7yba IsMSI8JxmX2eDMQj/chQxEhhlgeSbeOWciFx6HeWtYczYU8EhT8iyJj6dwcleCNhsdMl 7c5KLn6PNpoRlaTgwMm2sXI+UA9uav/wLy7/k=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

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 + 2.6.31.13 (pv_ops Jeremy's branch) Dom0 + 2.6.31.13 (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-2.6.31.13 --passive-domains=1 --passive-images=/boot/vmlinux-2.6.31.13-xenu

 /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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xenoprof problems in 2.6.31.13 pv_ops (xen4.0), Mingfan Lu <=