Skip to contentSkip to conversation

more xenoprof woes (active domains not working)

DISCUSSION Andrew Evans 1 participant 1 message Jan 29, 2010

lore
Share & tools
lore
#0 lore raw

(whoops, accidentally hit Ctrl-Enter while trying to paste, sorry!)

Hi,

I've been trying to get xenoprof working on a Xen 3.4.2 system running a RHEL 5 dom0 kernel and RHEL 4 in the (only) domU.

I rebuilt Xen 3.4.2 with this patch as instructed in other messages to this list:

http://lists.xensource.com/archives/html/xen-devel/2009-12/msg00709.html

That temporarily fixed the

(XEN) xenoprof: operation 9 failed for dom 0 (status : -1)

error seen in Xen dmesg when trying to start profiling an active domain. Now that dreaded error is back, and I have no idea why: the version of Xen that's booted hasn't changed, the patch has been applied to the sources, the installed xen.gz in /boot matches the one built from the patched sources byte-for-byte.

I'm following the instructions from
http://xenoprof.sourceforge.net/xenoprof_2.0.txt, specifically:

1) On the initiator domain
> opcontrol --reset
(clear out any previous data of current session)
> opcontrol --start-daemon
[--active-domains=<active_list>] [--passive-domains=<passive_list>] ...
(start OProfile daemon and specify the set of active and passive domains in the session)

2) On each active domain
> opcontrol --reset
> opcontrol --start
(indicates domain is ready to process performance events)
3) On initiator
> opcontrol --start
(Multi-domain profiling session starts)
(This is only successful if all active domains are ready)

I've rebooted the machine several times, but the error persists.

I'm going to try xen-unstable to see if that works, but is there anything else I can try to get this working with 3.4.2? We have a number of 3.3.1 systems that I'd like to be able to do active profiling of domUs on.

thanks,

-Andrew