|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] RE: [Xen-devel] Oprofile-0.9.2 problem with xen-unstable
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
-----Original Message-----
From: William Cohen [mailto:wcohen@xxxxxxxxxx]
Sent: Wednesday, September 20, 2006 1:35 PM
To: Bhatia, Nikhil
Cc: xen-users@xxxxxxxxxxxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Oprofile-0.9.2 problem with xen-unstable
Bhatia, Nikhil wrote:
> Hello Xen Users,
>
>
>
> I am using oprofile-0.9.2 along with Xen-unstable which has inbuilt
> support for Xenoprof and Oprofile. I have everything installed fine
> (i.e. Oprofile.ko is at the right place) but still I am having the
> following problem.
>
>
>
> When I try to use oprofile with the Host OS, I get the following
error:
>
>
>
> opcontrol --xen=/boot/xen-syms-3.0-unstable
>
> /usr/local/bin/opcontrol: line 1490: check_valid_xen: command not
found
>
>
>
> When I use oprofile on a guest OS, I get the following error:
>
>
>
> opcontrol --vmlinux=/boot/vmlinux-syms-2.6.16.13-xen
>
> /usr/local/bin/opcontrol: line 1490: check_valid_xen: command not
found
>
>
>
>
>
> It seems that opcontrol is not able to find a script called
> "check_valid_xen". Does anyone has any suggestions.
>
>
>
> Thanks,
>
> Nikhil
I looked through opcontrol for oprofile-0.9.2 and didn't see a
check_valid_xen
in the script. The stock OProfile 0.9.2 has support for active
profiling.
However, It doesn't have the newer patch that includes support for
passive
domain profiling.
Is this a stock version of OProfile 0.9.2? I suspect that a patch being
used to
update the xen support might not be quite right. The newer xenoprof
patch for
oprofile has a check_valid_xen() in opcontrol.
Earlier in the week I applied both the old and new versions of the
xenoprof
patch to oprofile-0.9.1 and did a diff of the directories to get an
incremental
patch. I haven't tested this on xen so I don't know if it works. I have
attached
the patch in question.
-Will
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|