From: "Zheng CUI" Subject: xenperf and mini-os on xen 3.0.4_1 (2.6.16.33) Date: Thu, 15 Mar 2007 12:50:27 -0600 Message-ID: <10873d600703151150x5655665ch6933770385205e65@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1020585108==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-users@lists.xensource.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1020585108== Content-Type: multipart/alternative; boundary="----=_Part_81743_32397800.1173984627801" ------=_Part_81743_32397800.1173984627801 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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, -zheng ------=_Part_81743_32397800.1173984627801 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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,

-zheng
   
------=_Part_81743_32397800.1173984627801-- --===============1020585108== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1020585108==--