From mboxrd@z Thu Jan 1 00:00:00 1970 From: "jowkju" Subject: xenoprof with 2.6.9 kernel - "timer mode" problem Date: Mon, 22 Oct 2007 19:36:25 +0900 Message-ID: <001301c81497$65a97240$30fc56c0$@ac.kr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1281297352==" Return-path: Content-Language: ko List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org ¿©·¯ ºÎºÐÀ¸·Î ±¸¼ºµÈ MIME Çü½ÄÀÇ ¸Þ½ÃÁöÀÔ´Ï´Ù. --===============1281297352== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0014_01C814E2.D5911A40" Content-Language: ko ¿©·¯ ºÎºÐÀ¸·Î ±¸¼ºµÈ MIME Çü½ÄÀÇ ¸Þ½ÃÁöÀÔ´Ï´Ù. ------=_NextPart_000_0014_01C814E2.D5911A40 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 kernel-2.6.9-42.0.8.EL.xs3.2.0.284.src.rpm During compiling the kernel, the xen.patch file doesn't activate the "profiling support" when X86_XEN is enabled. So I fixed it to enable "profiling support" even though it sets X86_XEN. ----- Just remove the "!" on the following code >> xen.patch arch/i386/Kconfig 274 +if !X86_XEN 275 source "arch/i386/oprofile/Kconfig" 276 +endif ---- And then I try to use oprofile on both dom0 kernel and domU kernel. But when I start a profiling daemon on the domU kernel with the event "GLOBAL_POWER_EVENT", the messages said, You cannot specify any performance counter events because OProfile is in timer mode. How can I get solved this problem? Is there anybody who let me know how to enter the event counter mode instead of timer mode?? Thank you!! ------=_NextPart_000_0014_01C814E2.D5911A40 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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

 

kernel-2.6.9-42.0.8.EL.xs3.2.0.284.src.rpm=

 

During compiling the kernel, the = xen.patch file doesn’t activate the “profiling support” when X86_XEN = is enabled. So I fixed it

to enable “profiling = support” even though it sets X86_XEN.

 

-----

Just remove the “!” = on the following code

 

>> = xen.patch

arch/i386/Kconfig

 

274 = +if !X86_XEN

    275  = source "arch/i386/oprofile/Kconfig"

    276 = +endif

 

----

 

And then I try to use oprofile = on both dom0 kernel and domU kernel. But when I start a profiling daemon on the =

domU kernel with the event = “GLOBAL_POWER_EVENT”, the messages said,

 

You cannot specify any = performance counter events

because OProfile is in timer = mode.

 

How can I get solved this = problem? Is there anybody who let me know how to enter the event counter mode =

instead of timer mode?? =

 

Thank = you!!

------=_NextPart_000_0014_01C814E2.D5911A40-- --===============1281297352== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1281297352==--