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-users

Re: [Xen-users] Issues w/ Oprofile and Xen-3.0.2 (xen-unstable)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Issues w/ Oprofile and Xen-3.0.2 (xen-unstable)
From: "Ray Bryant" <raybry@xxxxxxxxxxxxxxxxx>
Date: Tue, 19 Sep 2006 16:22:19 -0500
Cc: "Bhatia, Nikhil" <bhatia@xxxxxxxx>
Delivery-date: Tue, 19 Sep 2006 14:35:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <537C6C0940C6C143AA46A88946B85417045BB82A@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <537C6C0940C6C143AA46A88946B85417045BB82A@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
On Monday 18 September 2006 16:13, Bhatia, Nikhil wrote:
> Hello Xen Users,
<snip>
>
>
> opcontrol --init
>
> FATAL: Module oprofile not found.
>
> FATAL: Module oprofile not found.
>
> Kernel doesn't support oprofile
>
>
>
>
>
> I think I am not configuring the oprofile as required. Can someone
> please let me know of the flags that I need to set while configuring the
> oprofile installation? I am using the following configuration.
>
>
>
> ./configure --with-kernel-support
> --with-linux=/root/bhatia/project/xen/xen-unstable/dist/ > config.out
>
>
>
> I suspect that I am providing the wrong pathname for (--with-linux). I
> would greatly appreciate if you could clarify this to me.
>
>
>
> Thanks,
>
> Nikhil
Hi Nikhil,

You have to build and configure the kernel side of oprofile as well.   You'll 
need to have a kernel source tree for your dom0 kernel (linux-2.6.16.13-xen 
or something similar).    cd to that directory, type "make menuconfig", go to 
the "Instrumentation Support" entry and enable profiling and then in the 
subitem, enable oprofile.   (Hit the space bar to get either a loadable 
module M or have it built into the kernel *).    Exit and indicate you want 
to save this configuration.    Now you have to build and install the kernel 
itself:  make vmlinuz; make install; and, if you built oprofile as a module:
make modules_install.    Reboot and you should get past the above error.

Also, I'd use Oprofile 0.9.1 with Xen for now, unless Renato or someone else 
on the list has tried 0.9.2 and had success. 
-- 
Ray Bryant
AMD Performance Labs                   Austin, Tx
512-602-0038 (o)                 512-507-7807 (c)



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