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] xenperf and mini-os on xen 3.0.4_1 (2.6.16.33)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xenperf and mini-os on xen 3.0.4_1 (2.6.16.33)
From: "Zheng CUI" <zcui293@xxxxxxxxx>
Date: Thu, 15 Mar 2007 21:55:54 -0600
Delivery-date: Thu, 15 Mar 2007 20:55:00 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=AtxfYe/OB9abvn6vxEBlxnBkBNGASUnY0vS3QxGQ7L6x9YApVjpOLWHVTAkDr9uDtXj1xL+sSG3vbxtLFlw/UDYQ+Z8eHdB4jHnnXNlamyjx2rA5vJn3X2KMMT2iAZkqEAqh26jF1DhivNaQTlVBgEueZJSsFv6U5ZSfuxbCE/c=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=QZMULIQdOSOSW312d+6sWGhVFHAvLuTrWJBBKI97PFu+JzV3J4tTOx4sIOxBzfnGmMj9m7f+ZbbmwnkccJagDTgm5dTur6LIqzsIRdXGDZZldIE6wC1xYDA4IEr5o2YXyNu33sF6mOUZ8F3393/zwz17t//dXsyaey1ALd4TBtI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <10873d600703151150x5655665ch6933770385205e65@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <10873d600703151150x5655665ch6933770385205e65@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On 3/15/07, Zheng CUI <zcui293@xxxxxxxxx> wrote:
Hi all,

I just compiled and installed Xen-3.0.4_1.

1. My purpose is to use Xenperf tool for the pretty printing of hypercalls. But no matter when I typed each of "xenperf -r", "xenperf -p" and "xenperf -f", I got "ERROR resetting performance counters: 38 (Function not implemented)" or "ERROR getting perf counters: 38 (Function not implemented)" . Then I added several debug lines into the main function in "xenperf.c", for example,
          --- printk("xc_handle = %d\n", xc_handle) after "xc_handle = xc_interface_open()"
          --- printk("iret = %d\n", iret) after  iret = xc_perfc_control(xc_handle, XEN_SYSCTL_PERFCOP_reset, NULL, NULL, NULL, NULL) != 0
  Then I got xc_handle = 3. iret = -1.
  I traced the source code of do_sysctl called by
xc_perfc_control, and the error number should be -EPERM (operation not permitted)


2. When I boot mini-os by "xm create -c domain_config". The periodic thread in minios just prints out no more than 100 lines of the time from gettimeofday, and then does not print out time info any more.


Any help would be greatly appreciated!

Thank you,

-zheng
   

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>