|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] xenoprof problem
Xin,
XenOprofile does not support single domain profiling yet,
but only system wide profiling. That means that profiling
has to be controled by dom0. You will not be able to run
Oprofile from a domU without running oprofile in dom0.
You can find a more detailed description in:
http://xenoprof.sourceforge.net/xenoprof_2.0.txt
Below is a typical sequence of commands to run Oprofile in
multiple domains:
A) Sequence of commands to start profiling:
1) On the initiator domain (dom0)
> opcontrol --reset
(clear out any previous data of current session)
> opcontrol --start-daemon
[--active-domains=<active_list>]
[--passive-domains=<passive_list>]
<events> <dom0 kernel and xen images specs> ...
(start OProfile daemon and specify the set of active and
passive domains in the session)
2) On each active domain (domU to be profiled)
> opcontrol --reset
> opcontrol --start <events> <domU kernel and xen images specs>
(indicates domain is ready to process performance events)
3) On initiator
> opcontrol --start
(Multi-domain profiling session starts)
(This is only successful if all active domains are ready)
B) Sequence of commands to stop profiling
- On initiator domain:
> opcontrol --stop
Renato
>> -----Original Message-----
>> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Xin Zhao
>> Sent: Monday, May 22, 2006 10:50 PM
>> To: Xen devel list
>> Subject: [Xen-devel] xenoprof problem
>>
>> I am using xen-unstable with kernel 2.6.16. I enabled the
>> auditd when compiling kernel. After compile and restart, I
>> did "opcontrol --start"
>> in DomU. But I got the error message as following:
>>
>> ------------------------------
>> Using default event: GLOBAL_POWER_EVENTS:100000:1:1:1 Using
>> 2.6+ OProfile kernel interface.
>> Failed to open profile device: Operation not permitted
>> Couldn't start oprofiled.
>> Check the log file "/var/lib/oprofile/oprofiled.log" and
>> kernel syslog
>> -------------------------------------------------
>>
>> Does anyone have similar experience? Is this the right way
>> to profiling the performance in xen systems?
>>
>> Thanks in advance for your help!
>>
>> Xin
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|