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

[Xen-users] RE: [Xen-devel] Oprofile-0.9.2 problem with xen-unstable

To: "William Cohen" <wcohen@xxxxxxxxxx>, "Bhatia, Nikhil" <bhatia@xxxxxxxx>
Subject: [Xen-users] RE: [Xen-devel] Oprofile-0.9.2 problem with xen-unstable
From: "Apparao, Padmashree K" <padmashree.k.apparao@xxxxxxxxx>
Date: Wed, 20 Sep 2006 13:15:34 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 21 Sep 2006 13:26:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acbc7Blah8AIlxh6QxKhI5LJpfm4kwABUo0w
Thread-topic: [Xen-devel] Oprofile-0.9.2 problem with xen-unstable
I would check the active domains param in the host. That should match
the domid of the guest. If that is not so, you will see the error below

- Padma



-----Original Message-----
From: William Cohen [mailto:wcohen@xxxxxxxxxx] 
Sent: Wednesday, September 20, 2006 12:37 PM
To: Bhatia, Nikhil
Cc: xen-users@xxxxxxxxxxxxxxxxxxx; Apparao, Padmashree K
Subject: Re: [Xen-devel] Oprofile-0.9.2 problem with xen-unstable

Bhatia, Nikhil wrote:
> Hello Will, Padma and All,
> 
> I will try the patch the oprofile-0.9.2 by the new patch given by you.
> For now, I am trying to use the oprofile-0.9.1 and am able to start
> oprofile profiler on the host OS. However, when I try to do it on the
> guest OS, I get the following error: 
> 
> This worked !!!!!
> vm01:~# opcontrol --vmlinux=/boot/vmlinux-syms-2.6.16.13-xen
> 
> however this failed !!!
> vm01:~# opcontrol --start
> Using default event: CPU_CLK_UNHALTED:100000:0:1:1
> Using 2.6+ OProfile kernel interface.
> Reading module info.
> Failed to open profile device: Operation not permitted
> Couldn't start oprofiled.
> Check the log file "/var/lib/oprofile/oprofiled.log" and kernel syslog
> 
> Do you have any ideas?
> 
> Thanks,
> Nikhil

Was there any interesting information in
/var/lib/oprofile/oprofiled.log?

OProfile stores configuration in /root/.oprofile/daemonrc. Does it make
any 
difference whether there was a successful configuration before running?

For the time that it didn't work did the oprofile kernel module get
loaded?
One trick that you can do to find out what is being executed in
opcontrol script 
is put "-x" at the end of the first line of opcontrol:

#!/bin/sh -x

This should give a trace of opcontrol.

-Will

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] RE: [Xen-devel] Oprofile-0.9.2 problem with xen-unstable, Apparao, Padmashree K <=