From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuto Nakai Subject: Don't mount hardware performance counter using xenoprof Date: Fri, 7 Jan 2011 15:09:40 +0900 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1802195186==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1802195186== Content-Type: multipart/alternative; boundary=0016365ee562eb966b04993b7735 --0016365ee562eb966b04993b7735 Content-Type: text/plain; charset=ISO-8859-1 Hi, I want to use xenoprof to profile the overhead of the hypervisor. I patched the oprofile-0.9.5 using the patch from xenoprof.sourceforge.net Debian GNU/Linux 5.0 (lenny) Xen-4.0.1 + 2.6.32.27 (linux-2.6-pvops.git) Dom0 My platform is Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz My problems are: In Dom0, But hardware performance counters don't be mounted after initialization (opcontrol --init) # ls /dev/oprofile backtrace_depth cpu_buffer_size pointer_size buffer cpu_type stats buffer_size dump time_slice buffer_watershed enable 0(and 1,2,3) directories are not exist. Is there any reason for this ? Any help is appreciated. Thanks, Yuto Nakai --0016365ee562eb966b04993b7735 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I want to use xenoprof to profi= le the overhead of the hypervisor.=A0
I patched the oprofile-0.9.5 using the patch from=A0xen= oprof.sourceforge.net
=
Debian GNU/Linux 5.0 (lenny)
Xen-4.0.1 + 2.6.32.27 (linux-2.6-pvops.git)= Dom0
My platform is Intel(R) Core(TM) i7 CPU =A0 =A0 =A0 =A0 =A0 960 =A0@ 3.20GH= z

My problems are:
In Dom0, =A0
But hardware performance counters= don't be mounted=A0
<= /span>= after initialization (opcontrol --in= it)
# ls /dev/oprofile
backtrace_depth =A0 =A0c= pu_buffer_size =A0 pointer_size
buffer =A0=A0= =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 cpu_type =A0 =A0 =A0 =A0 =A0 =A0stats=A0=
buffer_size =A0 =A0 =A0 =A0 =A0 =A0 dump =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0time_slice=A0
b= uffer_watershed =A0 =A0enable
<= br>
0(and 1,2,3) directories are not exist.
<= br>
Is there any reason for this ?

Any help is appreciated. Thanks, Yuto Nakai

--0016365ee562eb966b04993b7735-- --===============1802195186== 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 --===============1802195186==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuto Nakai Subject: Don't mount hardware performance counter using xenoprof Date: Sat, 8 Jan 2011 16:06:58 +0900 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1394913965==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , 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 --===============1394913965== Content-Type: multipart/alternative; boundary=000e0cd2c2a0aa7ab70499506266 --000e0cd2c2a0aa7ab70499506266 Content-Type: text/plain; charset=ISO-8859-1 Hi, I want to use xenoprof to profile the overhead of the hypervisor. I patched the oprofile-0.9.5 using the patch from xenoprof.sourceforge.net Debian GNU/Linux 5.0 (lenny) Xen-4.0.1 + 2.6.32.27 (linux-2.6-pvops.git) Dom0 My platform is Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz My problems are: In Dom0, But hardware performance counters don't be mounted after initialization (opcontrol --init) # ls /dev/oprofile backtrace_depth cpu_buffer_size pointer_size buffer cpu_type stats buffer_size dump time_slice buffer_watershed enable 0(and 1,2,3) directories are not exist. Is there any reason for this ? Any help is appreciated. Thanks, Yuto Nakai --000e0cd2c2a0aa7ab70499506266 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
=
I want to use xenoprof to profile the overhead of the hypervisor.=A0 I patched the oprofile-0.9.5 using the patch from=A0xenoprof.sourceforge.net
=

Debian GNU/Linux 5.0 (lenny)
Xen-4.0.1 + 2.6.32.27 (linux-2.6-pvops.git)= Dom0
My platform is Intel(R) Core(TM) i7 CPU =A0 =A0 =A0 =A0 =A0 960 = =A0@ 3.20GHz

My problems are:
In Dom0, =A0
after initialization (opcontrol --init)

# ls /dev/oprofile
backtrace_depth =A0 =A0cpu_buffer_size= =A0 pointer_size
buffer =A0=A0=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 cpu_t= ype =A0 =A0 =A0 =A0 =A0 =A0stats=A0
buffer_size =A0 =A0 =A0 =A0 =A0 =A0 dump =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0time_slice=A0
buffer_watershed =A0 =A0enable

0(and 1,2,3) directories are not exist.

Is there any reaso= n for this ?

A= ny help is appreciated. Thanks, Yuto Nakai

--000e0cd2c2a0aa7ab70499506266-- --===============1394913965== 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 --===============1394913965==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Don't mount hardware performance counter using xenoprof Date: Mon, 10 Jan 2011 09:26:46 -0500 Message-ID: <20110110142646.GA5019@dumpdata.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Yuto Nakai Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sat, Jan 08, 2011 at 04:06:58PM +0900, Yuto Nakai wrote: > Hi, > > I want to use xenoprof to profile the overhead of the hypervisor. > I patched the oprofile-0.9.5 using the patch from xenoprof.sourceforge.net > > Debian GNU/Linux 5.0 (lenny) > Xen-4.0.1 + 2.6.32.27 (linux-2.6-pvops.git) Dom0 > My platform is Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz > > My problems are: > In Dom0, But hardware performance counters don't be mounted > after initialization (opcontrol --init) > > # ls /dev/oprofile > backtrace_depth cpu_buffer_size pointer_size > buffer cpu_type stats > buffer_size dump time_slice > buffer_watershed enable > > 0(and 1,2,3) directories are not exist. > > Is there any reason for this ? Do they exist when booting a baremetal kernel? > > Any help is appreciated. Thanks, Yuto Nakai > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuto Nakai Subject: Re: Don't mount hardware performance counter using xenoprof Date: Mon, 10 Jan 2011 23:53:12 +0900 Message-ID: References: <20110110142646.GA5019@dumpdata.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1561425356==" Return-path: In-Reply-To: <20110110142646.GA5019@dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1561425356== Content-Type: multipart/alternative; boundary=001636833424ba816204997f2169 --001636833424ba816204997f2169 Content-Type: text/plain; charset=ISO-8859-1 2011/1/10 Konrad Rzeszutek Wilk > On Sat, Jan 08, 2011 at 04:06:58PM +0900, Yuto Nakai wrote: > > Hi, > > > > I want to use xenoprof to profile the overhead of the hypervisor. > > I patched the oprofile-0.9.5 using the patch from > xenoprof.sourceforge.net > > > > Debian GNU/Linux 5.0 (lenny) > > Xen-4.0.1 + 2.6.32.27 (linux-2.6-pvops.git) Dom0 > > My platform is Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz > > > > My problems are: > > In Dom0, But hardware performance counters don't be mounted > > after initialization (opcontrol --init) > > > > # ls /dev/oprofile > > backtrace_depth cpu_buffer_size pointer_size > > buffer cpu_type stats > > buffer_size dump time_slice > > buffer_watershed enable > > > > 0(and 1,2,3) directories are not exist. > > > > Is there any reason for this ? > > Do they exist when booting a baremetal kernel? > > Thank you for your response. Does booting a baremetal kernel means booting Dom0? If it means so, they don't exist. > > > > Any help is appreciated. Thanks, Yuto Nakai > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > --001636833424ba816204997f2169 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2011/1/10 Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
On Sat, Jan 08, 2011 at 04:06:58PM +0900,= Yuto Nakai wrote:
> Hi,
>
> I want to use xenoprof to profile the overhead of the hypervisor.
> I patched the oprofile-0.9.5 using the patch from xenoprof.sourceforge.net
>
> Debian GNU/Linux 5.0 (lenny)
> Xen-4.0.1 + 2.6.32.27 (linux-2.6-pvops.git) Dom0
> My platform is Intel(R) Core(TM) i7 CPU =A0 =A0 =A0 =A0 =A0 960 =A0@ 3= .20GHz
>
> My problems are:
> In Dom0, =A0But hardware performance counters don't be mounted
> after initialization (opcontrol --init)
>
> # ls /dev/oprofile
> backtrace_depth =A0 =A0cpu_buffer_size =A0 pointer_size
> buffer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0cpu_type =A0 =A0 =A0 =A0= =A0 =A0stats
> buffer_size =A0 =A0 =A0 =A0 =A0 =A0 dump =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0time_slice
> buffer_watershed =A0 =A0enable
>
> 0(and 1,2,3) directories are not exist.
>
> Is there any reason for this ?

Do they exist when booting a baremetal kernel?


Thank you f= or your response.


Does=A0booting a = baremetal kernel means booting Dom0?
If it means so, =A0they don't exist.


=
=A0
>
> =A0Any help is appreciated. Thanks, Yuto Nakai

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xenso= urce.com
> htt= p://lists.xensource.com/xen-devel


--001636833424ba816204997f2169-- --===============1561425356== 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 --===============1561425356==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Don't mount hardware performance counter using xenoprof Date: Mon, 10 Jan 2011 10:22:06 -0500 Message-ID: <20110110152206.GB9732@dumpdata.com> References: <20110110142646.GA5019@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Yuto Nakai Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > > Do they exist when booting a baremetal kernel? > > > > > Thank you for your response. > > > Does booting a baremetal kernel means booting Dom0? No. Baremetal means booting the same kernel but without the Xen hypervisor. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuto Nakai Subject: Re: Don't mount hardware performance counter using xenoprof Date: Tue, 11 Jan 2011 00:34:58 +0900 Message-ID: References: <20110110142646.GA5019@dumpdata.com> <20110110152206.GB9732@dumpdata.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0223787007==" Return-path: In-Reply-To: <20110110152206.GB9732@dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0223787007== Content-Type: multipart/alternative; boundary=0016365ee5621b688b04997fb71a --0016365ee5621b688b04997fb71a Content-Type: text/plain; charset=ISO-8859-1 2011/1/11 Konrad Rzeszutek Wilk > > > Do they exist when booting a baremetal kernel? > > > > > > > > Thank you for your response. > > > > > > Does booting a baremetal kernel means booting Dom0? > > No. Baremetal means booting the same kernel but without the Xen hypervisor. > I understood. They exist when booting a baremetal kernel. --0016365ee5621b688b04997fb71a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I understood.

They = exist when booting a baremetal kernel.

--0016365ee5621b688b04997fb71a-- --===============0223787007== 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 --===============0223787007==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Don't mount hardware performance counter using xenoprof Date: Mon, 10 Jan 2011 12:22:01 -0500 Message-ID: <20110110172201.GA30164@dumpdata.com> References: <20110110142646.GA5019@dumpdata.com> <20110110152206.GB9732@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Yuto Nakai Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Jan 11, 2011 at 12:34:58AM +0900, Yuto Nakai wrote: > 2011/1/11 Konrad Rzeszutek Wilk > > > > > Do they exist when booting a baremetal kernel? > > > > > > > > > > > Thank you for your response. > > > > > > > > > Does booting a baremetal kernel means booting Dom0? > > > > No. Baremetal means booting the same kernel but without the Xen hypervisor. > > > > I understood. > > They exist when booting a baremetal kernel. Ok, then the answer is that nobody has looked in a long time (I think since 2.6.18) to hook up the oprofile (or rather the code that that gets invoked when a perf counter is triggered) to the Xen hypervisor. It might make sense to look at how 2.6.18 did it (especially what were the hypercalls and where) and see how to port it over to a pvops kernel. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuto Nakai Subject: Don't mount hardware performance counter using xenoprof Date: Fri, 7 Jan 2011 19:12:36 +0900 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0886875934==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , 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 --===============0886875934== Content-Type: multipart/alternative; boundary=0016e659f924b5df0f04993edc71 --0016e659f924b5df0f04993edc71 Content-Type: text/plain; charset=ISO-8859-1 Hi, I want to use xenoprof to profile the overhead of the hypervisor. I patched the oprofile-0.9.5 using the patch from xenoprof.sourceforge.net Debian GNU/Linux 5.0 (lenny) Xen-4.0.1 + 2.6.32.27 (linux-2.6-pvops.git) Dom0 My platform is Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz My problems are: In Dom0, But hardware performance counters don't be mounted after initialization (opcontrol --init) # ls /dev/oprofile backtrace_depth cpu_buffer_size pointer_size buffer cpu_type stats buffer_size dump time_slice buffer_watershed enable 0(and 1,2,3) directories are not exist. Is there any reason for this ? Any help is appreciated. Thanks, Yuto Nakai --0016e659f924b5df0f04993edc71 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I want to use xenoprof to profi= le the overhead of the hypervisor.=A0
I patched the oprofile-0.9.5 using the patch from=A0
xen= oprof.sourceforge.net
=
Debian GNU/Linux 5.0 (lenny)
Xen-4.0.1 + 2.6.32.27 (linux-2.6-pvops.git)= Dom0
My platform is Intel(R) Core(TM) i7 CPU =A0 =A0 =A0 =A0 =A0 960 = =A0@ 3.20GHz

My problems are:
In Dom0, =A0
But hardware performance counters don't be mounted=A0<= /span>
after initialization (opcontrol -= -init)

# ls /dev/oprofile
backtrace_depth =A0 =A0cpu_buffer_size =A0 pointer_size
buffe= r =A0=A0=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 cpu_type =A0 =A0 =A0 =A0 =A0 = =A0stats=A0
buffer_size =A0 =A0 =A0 =A0 =A0 =A0 dump =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0time_slice=A0
buffer_= watershed =A0 =A0enable

0(and 1,2,3) directories are not exist.<= /span>

Is there any reaso= n for this ?

A= ny help is appreciated. Thanks, Yuto Nakai

--0016e659f924b5df0f04993edc71-- --===============0886875934== 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 --===============0886875934==--