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

RE: [Xen-devel] xenoprof with 2.6.9 kernel - "timer mode" problem


  • To: "jowkju" <jowkju@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
  • Date: Tue, 23 Oct 2007 23:03:49 -0000
  • Delivery-date: Tue, 23 Oct 2007 16:05:17 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcgUl2RslPbdZgFGTJu8UpbvssJ/EwBLgQjg
  • Thread-topic: [Xen-devel] xenoprof with 2.6.9 kernel - "timer mode" problem

 

>> -----Original Message-----
>> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
>> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of jowkju
>> Sent: Monday, October 22, 2007 3:36 AM
>> To: xen-devel@xxxxxxxxxxxxxxxxxxx
>> Subject: [Xen-devel] xenoprof with 2.6.9 kernel - "timer 
>> mode" problem
>> 
>> Hello, xen users,
>> 
>> I installed XenServer-v3.2.0 on my Dell PowerEdge 6850 and 
>> compiled dom0 kernel with oprofile support enabled.
>> 
>> I also made a guest VM -Centos 4.5 with kernel 2.6.9 through 
>> "p2v".  And then I newly compiled the guest VM kernel 
>> 
>> with "oprofile support enabled" using the following source 
>> RPM for xenoprof test
>> 

  Xenoprof does not enable profiling from the guest as it does not
virtualize performance counters.
  It only allows system wide profiling from dom0.
  You can still get profile info for the guest using the
"--passive-domains" option in opcontrol, but you have to start opcontrol
from dom0. There is also an "--active-domain" option, but it requires a
complex configuration and only recommended if you really need detailed
user level code profiling in the guest. This option also requires
starting opcontrol from dom0.
  If you run opcontrol only in the guest you will not be able to use
performance counters but only timer mode.

  You may want to check
http://xen.xensource.com/files/summit_3/xenoprof_tutorial.pdf for more
details. It is a little outdated and the version numbers have changed
but it shows the basic steps for using XenOprofile

Renato

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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