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/
Home Products Support Community News


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

To: "Bhatia, Nikhil" <bhatia@xxxxxxxx>
Subject: [Xen-users] Re: [Xen-devel] Oprofile-0.9.2 problem with xen-unstable
From: William Cohen <wcohen@xxxxxxxxxx>
Date: Wed, 20 Sep 2006 15:36:36 -0400
Cc: "Apparao, Padmashree K" <padmashree.k.apparao@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 21 Sep 2006 13:30:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <537C6C0940C6C143AA46A88946B854170468D3E4@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: <537C6C0940C6C143AA46A88946B854170468D3E4@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501)
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-

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?


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.


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>