Skip to contentSkip to conversation

Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

DISCUSSION 박은병 3 participants 8 messages Jan 22, 2010 – Feb 11, 2010

lore
Share & tools
lore

박은병

author
#0 lore raw

my system configuration

xen 3.4.2, oprofile 0.9.5( xenoprof patched ), dom0( jeremy's pvops kernel 2.6.31.6 - patched dullor's xenoprof patch ), domU( vanilla kernel 2.6.32 with paravirt enabled ), distribution( ubuntu 9.10 )

In passive mode, xenoprof seems to work well, opreport showed good information.
but, in active mode, it seems not to be done correctly.

my command is strictly followed by xenoprof tutorial doc.

<dom0>
opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=7

<domU>
opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.32-domU
In domU, opcontrol was break showing "cannot find timer command??"

I think that domU kernel also should be patched. Is it right?? dullor's patch available on vanilla kernel?? I had tried to patch the dullor's patch to vanilla kernel 2.6.31.6 with 2 conflict message.(mmu.c, xen-ops.h)

is there anyone who succeed in running xenoprof in active mode using jeremy's pvops 2.6.31.6 dom0 ??

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

To run xenoprof in active mode you need xenoprof support both in dom0 and in domU. Try using the the pvops kernel with Dullor's xenoprof patch in domU too. This should solve your problem...

Renato

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of ???
Sent: Thursday, January 21, 2010 10:00 PM
To: [email protected]
Subject: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

my system configuration

xen 3.4.2, oprofile 0.9.5( xenoprof patched ), dom0( jeremy's pvops kernel 2.6.31.6 - patched dullor's xenoprof patch ), domU( vanilla kernel 2.6.32 with paravirt enabled ), distribution( ubuntu 9.10 )

In passive mode, xenoprof seems to work well, opreport showed good information. but, in active mode, it seems not to be done correctly.

my command is strictly followed by xenoprof tutorial doc.

<dom0>
opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=7

<domU>
opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.32-domU In domU, opcontrol was break showing "cannot find timer command??"

I think that domU kernel also should be patched. Is it right?? dullor's patch available on vanilla kernel?? I had tried to patch the dullor's patch to vanilla kernel 2.6.31.6 with 2 conflict message.(mmu.c, xen-ops.h)

is there anyone who succeed in running xenoprof in active mode using jeremy's pvops 2.6.31.6 dom0 ??

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw

I tried to use same pvops kernel(jeremy's) for both dom0 and domU, and dullor's patch.

But, it does not work well.

dom0# opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=1
Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log Daemon started.

dom0 seems to be good. I think,,

and domU command

domU# opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-domU-xenoprof /usr/local/bin/opcontrol: line 367: timer: command not found You cannot specify any performance counter events
because OProfile is in timer mode.

And. Some tricky output..

dom0#>cat /dev/oprofile/cpu_type
i386/core

domU#>cat /dev/oprofile/cpu_type
timer

I would appreciate your response....:)

2010년 1월 23일 오전 3:32, Santos, Jose Renato G <[email protected]>님의 말:

Quoted 35 lines

To run xenoprof in active mode you need xenoprof support both in dom0 and
in domU. Try using the the pvops kernel with Dullor's xenoprof patch in domU too. This should solve your problem...

Renato

------------------------------
*From:* [email protected] [mailto:
[email protected]] *On Behalf Of *??? *Sent:* Thursday, January 21, 2010 10:00 PM
*To:* [email protected]
*Subject:* [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

my system configuration

xen 3.4.2, oprofile 0.9.5( xenoprof patched ), dom0( jeremy's pvops kernel 2.6.31.6 - patched dullor's xenoprof patch ), domU( vanilla kernel 2.6.32 with paravirt enabled ), distribution( ubuntu 9.10 )

In passive mode, xenoprof seems to work well, opreport showed good information.
but, in active mode, it seems not to be done correctly.

my command is strictly followed by xenoprof tutorial doc.

<dom0>
opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=7

<domU>
opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.32-domU
In domU, opcontrol was break showing "cannot find timer command??"

Quoted 10 lines

I think that domU kernel also should be patched. Is it right?? dullor's patch available on vanilla kernel?? I had tried to patch the dullor's patch to vanilla kernel 2.6.31.6 with 2 conflict message.(mmu.c, xen-ops.h)

is there anyone who succeed in running xenoprof in active mode using jeremy's pvops 2.6.31.6 dom0 ??

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

This seems to be related to a recently fixed bug.
Try using Xen 4.0 or latest unstable or apply the patch posted in:
http://lists.xensource.com/archives/html/xen-devel/2009-12/msg00709.html

Renato
________________________________
From: 박은병 [mailto:[email protected]]
Sent: Saturday, January 23, 2010 12:33 AM
To: Santos, Jose Renato G
Cc: [email protected]
Subject: Re: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

I tried to use same pvops kernel(jeremy's) for both dom0 and domU, and dullor's patch.

But, it does not work well.

dom0# opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=1 Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log
Daemon started.

dom0 seems to be good. I think,,

and domU command

domU# opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-domU-xenoprof /usr/local/bin/opcontrol: line 367: timer: command not found
You cannot specify any performance counter events
because OProfile is in timer mode.

And. Some tricky output..

dom0#>cat /dev/oprofile/cpu_type
i386/core

domU#>cat /dev/oprofile/cpu_type
timer

I would appreciate your response....:)

2010년 1월 23일 오전 3:32, Santos, Jose Renato G <[email protected]<mailto:[email protected]>>님의 말:
To run xenoprof in active mode you need xenoprof support both in dom0 and in domU. Try using the the pvops kernel with Dullor's xenoprof patch in domU too. This should solve your problem...

Renato

________________________________
From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of ???
Sent: Thursday, January 21, 2010 10:00 PM
To: [email protected]<mailto:[email protected]>
Subject: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

my system configuration

xen 3.4.2, oprofile 0.9.5( xenoprof patched ), dom0( jeremy's pvops kernel 2.6.31.6 - patched dullor's xenoprof patch ), domU( vanilla kernel 2.6.32 with paravirt enabled ), distribution( ubuntu 9.10 )

In passive mode, xenoprof seems to work well, opreport showed good information. but, in active mode, it seems not to be done correctly.

my command is strictly followed by xenoprof tutorial doc.

<dom0>
opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=7

<domU>
opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.32-domU In domU, opcontrol was break showing "cannot find timer command??"

I think that domU kernel also should be patched. Is it right?? dullor's patch available on vanilla kernel?? I had tried to patch the dullor's patch to vanilla kernel 2.6.31.6 with 2 conflict message.(mmu.c, xen-ops.h)

is there anyone who succeed in running xenoprof in active mode using jeremy's pvops 2.6.31.6 dom0 ??

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#4 lore raw

Thanks. I am sorry for late response.

the patch you have mentioned is already applied.

Hum....But, I have not tried to Xen 4.0 or unstable.

Is there any other difference between the patch and 4.0 or unstable about xenoprof.c ??

2010년 1월 24일 오전 10:01, Santos, Jose Renato G <[email protected]>님의 말:

Quoted 45 lines

This seems to be related to a recently fixed bug.
Try using Xen 4.0 or latest unstable or apply the patch posted in:
http://lists.xensource.com/archives/html/xen-devel/2009-12/msg00709.html

Renato

------------------------------
*From:* 박은병 [mailto:[email protected]]
*Sent:* Saturday, January 23, 2010 12:33 AM
*To:* Santos, Jose Renato G
*Cc:* [email protected]
*Subject:* Re: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

I tried to use same pvops kernel(jeremy's) for both dom0 and domU, and
dullor's patch.

But, it does not work well.

dom0# opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=1
Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log Daemon started.

dom0 seems to be good. I think,,

and domU command

domU# opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-domU-xenoprof /usr/local/bin/opcontrol: line 367: timer: command not found You cannot specify any performance counter events
because OProfile is in timer mode.

And. Some tricky output..

dom0#>cat /dev/oprofile/cpu_type
i386/core

domU#>cat /dev/oprofile/cpu_type
timer

Quoted 55 lines

I would appreciate your response....:)

2010년 1월 23일 오전 3:32, Santos, Jose Renato G <[email protected]>님의 말:

Quoted 46 lines

To run xenoprof in active mode you need xenoprof support both in dom0
and in domU. Try using the the pvops kernel with Dullor's xenoprof patch in domU too. This should solve your problem...

Renato

------------------------------
*From:* [email protected] [mailto:
[email protected]] *On Behalf Of *??? *Sent:* Thursday, January 21, 2010 10:00 PM
*To:* [email protected]
*Subject:* [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

my system configuration

xen 3.4.2, oprofile 0.9.5( xenoprof patched ), dom0( jeremy's pvops kernel 2.6.31.6 - patched dullor's xenoprof patch ), domU( vanilla kernel 2.6.32 with paravirt enabled ), distribution( ubuntu 9.10 )

In passive mode, xenoprof seems to work well, opreport showed good information.
but, in active mode, it seems not to be done correctly.

my command is strictly followed by xenoprof tutorial doc.

<dom0>
opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=7

<domU>
opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.32-domU
In domU, opcontrol was break showing "cannot find timer command??"

I think that domU kernel also should be patched. Is it right?? dullor's patch available on vanilla kernel?? I had tried to patch the dullor's patch to vanilla kernel 2.6.31.6 with 2 conflict message.(mmu.c, xen-ops.h)

is there anyone who succeed in running xenoprof in active mode using jeremy's pvops 2.6.31.6 dom0 ??

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw

This is the only recent fix I am aware of
Active mode profiling requires carefull synchronization between dom0 and the guest domain Make sure you follow the instructions described in:
http://www.xen.org/files/summit_3/xenoprof_tutorial.pdf

Renato

________________________________
From: 박은병 [mailto:[email protected]]
Sent: Wednesday, January 27, 2010 7:39 PM
To: Santos, Jose Renato G
Cc: [email protected]
Subject: Re: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

Thanks. I am sorry for late response.

the patch you have mentioned is already applied.

Hum....But, I have not tried to Xen 4.0 or unstable.

Is there any other difference between the patch and 4.0 or unstable about xenoprof.c ??

2010년 1월 24일 오전 10:01, Santos, Jose Renato G <[email protected]<mailto:[email protected]>>님의 말:
This seems to be related to a recently fixed bug.
Try using Xen 4.0 or latest unstable or apply the patch posted in:
http://lists.xensource.com/archives/html/xen-devel/2009-12/msg00709.html

Renato
________________________________
From: 박은병 [mailto:[email protected]<mailto:[email protected]>]
Sent: Saturday, January 23, 2010 12:33 AM
To: Santos, Jose Renato G
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

I tried to use same pvops kernel(jeremy's) for both dom0 and domU, and dullor's patch.

But, it does not work well.

dom0# opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=1 Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log
Daemon started.

dom0 seems to be good. I think,,

and domU command

domU# opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-domU-xenoprof /usr/local/bin/opcontrol: line 367: timer: command not found
You cannot specify any performance counter events
because OProfile is in timer mode.

And. Some tricky output..

dom0#>cat /dev/oprofile/cpu_type
i386/core

domU#>cat /dev/oprofile/cpu_type
timer

I would appreciate your response....:)

2010년 1월 23일 오전 3:32, Santos, Jose Renato G <[email protected]<mailto:[email protected]>>님의 말:
To run xenoprof in active mode you need xenoprof support both in dom0 and in domU. Try using the the pvops kernel with Dullor's xenoprof patch in domU too. This should solve your problem...

Renato

________________________________
From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of ???
Sent: Thursday, January 21, 2010 10:00 PM
To: [email protected]<mailto:[email protected]>
Subject: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

my system configuration

xen 3.4.2, oprofile 0.9.5( xenoprof patched ), dom0( jeremy's pvops kernel 2.6.31.6 - patched dullor's xenoprof patch ), domU( vanilla kernel 2.6.32 with paravirt enabled ), distribution( ubuntu 9.10 )

In passive mode, xenoprof seems to work well, opreport showed good information. but, in active mode, it seems not to be done correctly.

my command is strictly followed by xenoprof tutorial doc.

<dom0>
opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=7

<domU>
opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.32-domU In domU, opcontrol was break showing "cannot find timer command??"

I think that domU kernel also should be patched. Is it right?? dullor's patch available on vanilla kernel?? I had tried to patch the dullor's patch to vanilla kernel 2.6.31.6 with 2 conflict message.(mmu.c, xen-ops.h)

is there anyone who succeed in running xenoprof in active mode using jeremy's pvops 2.6.31.6 dom0 ??

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#6 lore raw

I already have strictly adhered to xenoprof_tutorial.

I also tried to apply xen-4.0.0-rc3-pre unstable version. but it is also does not work with same error message.

I want to know your active domain profiling environment, including xen version, dom0, domU and linux distribution.

2010년 1월 28일 오후 3:50, Santos, Jose Renato G <[email protected]>님의 말:

Quoted 21 lines

This is the only recent fix I am aware of
Active mode profiling requires carefull synchronization between dom0 and
the guest domain
Make sure you follow the instructions described in:
http://www.xen.org/files/summit_3/xenoprof_tutorial.pdf

Renato

------------------------------
*From:* 박은병 [mailto:[email protected]]
*Sent:* Wednesday, January 27, 2010 7:39 PM

*To:* Santos, Jose Renato G
*Cc:* [email protected]
*Subject:* Re: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

Thanks. I am sorry for late response.

the patch you have mentioned is already applied.

Quoted 109 lines

Hum....But, I have not tried to Xen 4.0 or unstable.

Is there any other difference between the patch and 4.0 or unstable about xenoprof.c ??

2010년 1월 24일 오전 10:01, Santos, Jose Renato G <[email protected]>님의 말:

Quoted 100 lines

This seems to be related to a recently fixed bug.
Try using Xen 4.0 or latest unstable or apply the patch posted in:
http://lists.xensource.com/archives/html/xen-devel/2009-12/msg00709.html

Renato

------------------------------
*From:* 박은병 [mailto:[email protected]]
*Sent:* Saturday, January 23, 2010 12:33 AM
*To:* Santos, Jose Renato G
*Cc:* [email protected]
*Subject:* Re: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

I tried to use same pvops kernel(jeremy's) for both dom0 and domU, and
dullor's patch.

But, it does not work well.

dom0# opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=1
Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log Daemon started.

dom0 seems to be good. I think,,

and domU command

domU# opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-domU-xenoprof /usr/local/bin/opcontrol: line 367: timer: command not found You cannot specify any performance counter events
because OProfile is in timer mode.

And. Some tricky output..

dom0#>cat /dev/oprofile/cpu_type
i386/core

domU#>cat /dev/oprofile/cpu_type
timer

I would appreciate your response....:)

2010년 1월 23일 오전 3:32, Santos, Jose Renato G <[email protected]>님의 말:

Quoted 46 lines

To run xenoprof in active mode you need xenoprof support both in dom0
and in domU. Try using the the pvops kernel with Dullor's xenoprof patch in domU too. This should solve your problem...

Renato

------------------------------
*From:* [email protected] [mailto:
[email protected]] *On Behalf Of *??? *Sent:* Thursday, January 21, 2010 10:00 PM
*To:* [email protected]
*Subject:* [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

my system configuration

xen 3.4.2, oprofile 0.9.5( xenoprof patched ), dom0( jeremy's pvops kernel 2.6.31.6 - patched dullor's xenoprof patch ), domU( vanilla kernel 2.6.32 with paravirt enabled ), distribution( ubuntu 9.10 )

In passive mode, xenoprof seems to work well, opreport showed good information.
but, in active mode, it seems not to be done correctly.

my command is strictly followed by xenoprof tutorial doc.

<dom0>
opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=7

<domU>
opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.32-domU
In domU, opcontrol was break showing "cannot find timer command??"

I think that domU kernel also should be patched. Is it right?? dullor's patch available on vanilla kernel?? I had tried to patch the dullor's patch to vanilla kernel 2.6.31.6 with 2 conflict message.(mmu.c, xen-ops.h)

is there anyone who succeed in running xenoprof in active mode using jeremy's pvops 2.6.31.6 dom0 ??

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw

Hi Jose,

Did you manage to resolve the following xenoprof error:

domU# opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.
31.6-domU-xenoprof
/usr/local/bin/opcontrol: line 367: timer: command not found You cannot specify any performance counter events
because OProfile is in timer mode.

I am facing the same problem. I am using xen-3.4.1 on dom0. Do I need to install xen on domU as well?

My hardware is AMD-64.

Thanks for the help.

Best Regards, Hassan
http://cern.ch/ahmadh/portfolio

Erasmus Student
The University of Reading, UK
Aristotle University of Thessaloniki, Greece
The University Of Carlos III, Madrid Spain

2010/1/29 박은병 <[email protected]>

Quoted 143 lines

I already have strictly adhered to xenoprof_tutorial.

I also tried to apply xen-4.0.0-rc3-pre unstable version. but it is also does not work with same error message.

I want to know your active domain profiling environment, including xen version, dom0, domU and linux distribution.

2010년 1월 28일 오후 3:50, Santos, Jose Renato G <[email protected]>님의 말:

This is the only recent fix I am aware of

Quoted 20 lines

Active mode profiling requires carefull synchronization between dom0 and
the guest domain
Make sure you follow the instructions described in:
http://www.xen.org/files/summit_3/xenoprof_tutorial.pdf

Renato

------------------------------
*From:* 박은병 [mailto:[email protected]]
*Sent:* Wednesday, January 27, 2010 7:39 PM

*To:* Santos, Jose Renato G
*Cc:* [email protected]
*Subject:* Re: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

Thanks. I am sorry for late response.

the patch you have mentioned is already applied.

Quoted 109 lines

Hum....But, I have not tried to Xen 4.0 or unstable.

Is there any other difference between the patch and 4.0 or unstable about xenoprof.c ??

2010년 1월 24일 오전 10:01, Santos, Jose Renato G <[email protected]>님의 말:

Quoted 100 lines

This seems to be related to a recently fixed bug.
Try using Xen 4.0 or latest unstable or apply the patch posted in:
http://lists.xensource.com/archives/html/xen-devel/2009-12/msg00709.html

Renato

------------------------------
*From:* 박은병 [mailto:[email protected]]
*Sent:* Saturday, January 23, 2010 12:33 AM
*To:* Santos, Jose Renato G
*Cc:* [email protected]
*Subject:* Re: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

I tried to use same pvops kernel(jeremy's) for both dom0 and domU, and
dullor's patch.

But, it does not work well.

dom0# opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=1
Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log Daemon started.

dom0 seems to be good. I think,,

and domU command

domU# opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-domU-xenoprof /usr/local/bin/opcontrol: line 367: timer: command not found You cannot specify any performance counter events
because OProfile is in timer mode.

And. Some tricky output..

dom0#>cat /dev/oprofile/cpu_type
i386/core

domU#>cat /dev/oprofile/cpu_type
timer

I would appreciate your response....:)

2010년 1월 23일 오전 3:32, Santos, Jose Renato G <[email protected]>님의 말:

Quoted 46 lines

To run xenoprof in active mode you need xenoprof support both in dom0
and in domU. Try using the the pvops kernel with Dullor's xenoprof patch in domU too. This should solve your problem...

Renato

------------------------------
*From:* [email protected] [mailto:
[email protected]] *On Behalf Of *??? *Sent:* Thursday, January 21, 2010 10:00 PM
*To:* [email protected]
*Subject:* [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

my system configuration

xen 3.4.2, oprofile 0.9.5( xenoprof patched ), dom0( jeremy's pvops kernel 2.6.31.6 - patched dullor's xenoprof patch ), domU( vanilla kernel 2.6.32 with paravirt enabled ), distribution( ubuntu 9.10 )

In passive mode, xenoprof seems to work well, opreport showed good information.
but, in active mode, it seems not to be done correctly.

my command is strictly followed by xenoprof tutorial doc.

<dom0>
opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=7

<domU>
opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.32-domU
In domU, opcontrol was break showing "cannot find timer command??"

I think that domU kernel also should be patched. Is it right?? dullor's patch available on vanilla kernel?? I had tried to patch the dullor's patch to vanilla kernel 2.6.31.6 with 2 conflict message.(mmu.c, xen-ops.h)

is there anyone who succeed in running xenoprof in active mode using jeremy's pvops 2.6.31.6 dom0 ??

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel