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

[Xen-devel] Xenoprof cannot do profiling with active mode in domU

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xenoprof cannot do profiling with active mode in domU
From: K L <intervalmg@xxxxxxxxx>
Date: Tue, 7 Sep 2010 10:49:46 -0400
Delivery-date: Tue, 07 Sep 2010 07:53:22 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=LNWyErfU5+2XdR0ivVK9c93SL8Vg7wLR9BHBu7XG8VY=; b=NPKh/I7qhqK4hP/fpccp8rOMDOCECxcd97S9nqmbRnh7lspYUXqU97gewXJnSUYdUq PoysN5qEoPfUOIVnGng/Vu8QsjfYkFVp6n/pSvS9aMlcZnlO70S/rTypkVloI2fzxCcz CderkB9tFwhrTWi6aJ3nkE0bzr1Vcrpn1ow3Y=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=U+OrcBIYWy5aF9v3mS53Nqiq8fMITclDZR6oqPqyQgW6ibPL3piuPEr7NLDC8OzcFb Hmr9SpVTYVjx09rtJ9FN8dvJh5XWxji5urbXydtIUmUkR4kih3AkcJcyw9WCHjn9/mxM xCbGDlnZUYBvDJwVqh7QxXkQdeO7YDCjvhnXI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Sorry for duplicate messages.

I also read Renato's thread
(http://lists.xensource.com/archives/html/xen-devel/2010-01/msg01215.html).
It seems that the problems have something to do with configuration.
But I patched oprofile-0.9.5.tar.gz with patch
oprofile-0.9.5-xen.patch and complied successfully. I have no idea
what the problem is.

When I type 'opcontrol -l', I will see the following:

testvm02:~/oprofile-0.9.5# opcontrol -l
Using timer interrupt.

I can locate the code in 'ophelp.c'
line 405:
        if (cpu_type == CPU_TIMER_INT) {
                if (!check_events)
                        printf("Using timer interrupt.\n");
                exit(EXIT_SUCCESS);
        }


Any comments are greatly appreciated.

Best,
Jeff
---------- Forwarded message ----------
From: K L <intervalmg@xxxxxxxxx>
Date: Sun, Sep 5, 2010 at 10:45 PM
Subject: xenoprofile cannot run in active mode in domU
To: xen-devel@xxxxxxxxxxxxxxxxxxx


Dear all,

I have enable xen-3.4.2 oprofile configuration and compiled the
oprofile-0.9.5.tar.gz with patch oprofile-0.9.5-xen.patch.

I 'scp' the xen-syms kernel and the vmlinux kernel to domU. I want to
start the mode with:

opcontrol --start --event=CPU_CLK_UNHALTED:1000000:1:1:1 --xen
xen-syms-3.4.2 --vmlinux=vmlinux

But it shows the result like:

testvm02:~# opcontrol --start --event=CPU_CLK_UNHALTED:1000000:1:1:1
--xen xen-syms-3.4.2 --vmlinux=vmlinux You cannot specify any
performance counter events
because OProfile is in timer mode.

I have read previous thread 'Xenoprof: getting Oprofile out of timer
mode?'(http://copilotco.com/mail-archives/xen.2006/msg12482.html). It
seems the problem has been fixed. But why I cannot run xenoprofile in
active mode in domU. Does it have something to do with apic?(I have
configured in /etc/xen/testvm02.cfg with lapic)

My machine is HP proliant. I can provide further information if needed.

Thanks,
Jeff

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Xenoprof cannot do profiling with active mode in domU, K L <=