WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Don't mount hardware performance counter using xenoprof

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Don't mount hardware performance counter using xenoprof
From: Yuto Nakai <yuto.k2c@xxxxxxxxx>
Date: Mon, 10 Jan 2011 23:53:12 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 10 Jan 2011 06:54:44 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=uMP3KKUrcikiDS9kwQsmg/HT+CuHi7i4fqptgt6Dqzw=; b=r1e7S1NHaQ1/u4lesfS/yz65VB6jmSP5XQ9kmkx4iW+o97zxxlHAqnw3F5cB+3ZMxg uZyPl7meY3maYLNGjb1svRpga8+Nn6nAN+5XOGh84dpKM84zArUokTKf7BzS/3sqmHK8 lAcWMlyI+Wia2u2uLMFAfWtf12JYfgvigj7AE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=EEp3JVf68WOkazCutkzNmtn2PdLJ1RYfAyKDCoqzUnTi/oYLbAhSe4doD0078P14dl GrZ+qjp0ZDu0bo8e0gvHDJJs7AvDBM5EsWkZWMtI2GuVrdc4G+wzFeTgeQUrAtMjRnt7 y8uskVzsRouXEEjN8XImPVyivPTXXa7+NTXHI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110110142646.GA5019@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=dtNkeRzeZT=-9kUCUEZpfGSKU-NQw28D6Mm0m@xxxxxxxxxxxxxx> <AANLkTinyjtACFR510800EsSuOtP13H+OGCJ9TSU5FGWC@xxxxxxxxxxxxxx> <20110110142646.GA5019@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
2011/1/10 Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


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