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

[Xen-users] xenperf and mini-os on xen 3.0.4_1 (

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Zheng CUI" <zcui293@xxxxxxxxx>
  • Date: Thu, 15 Mar 2007 12:50:27 -0600
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 15 Mar 2007 11:49:47 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type; b=G9S98S+nKfIuddJPn1zcll7XKNVWZuLzZxp9n4qyjG0t8GtK7yC2yuLcrve2/VaPgQnupZRc5vUQckB3meKOReZcR+YbpPRkckvCodPidb9h4P3a+ez3e02xPfMci9BAijc5pbE8YUrhguKvIclO2a9z83QJqoblkxzdl9zXWJk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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)" .
    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,

Xen-users mailing list



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