All of lore.kernel.org
 help / color / mirror / Atom feed
* xenoprofile cannot run in active mode in domU
@ 2010-09-06  2:45 K L
  2010-09-08 15:53 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 4+ messages in thread
From: K L @ 2010-09-06  2:45 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xenoprofile cannot run in active mode in domU
  2010-09-06  2:45 xenoprofile cannot run in active mode in domU K L
@ 2010-09-08 15:53 ` Konrad Rzeszutek Wilk
  2010-09-09  2:33   ` K L
  0 siblings, 1 reply; 4+ messages in thread
From: Konrad Rzeszutek Wilk @ 2010-09-08 15:53 UTC (permalink / raw)
  To: K L; +Cc: xen-devel

On Sun, Sep 05, 2010 at 10:45:00PM -0400, K L wrote:
> 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)

Does it work under dom0?
> 
> My machine is HP proliant. I can provide further information if needed.
> 
> Thanks,
> Jeff
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xenoprofile cannot run in active mode in domU
  2010-09-08 15:53 ` Konrad Rzeszutek Wilk
@ 2010-09-09  2:33   ` K L
  2010-09-20 14:59     ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 4+ messages in thread
From: K L @ 2010-09-09  2:33 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel

No. It returns timer mode.

trillian14:~# opcontrol -l
Using timer interrupt.

Is it possible that power regulator has something to do with the error
because I see some APIC entries(dmesg) are always disabled even if I
enable all APIC in BIOS. Have you had experience on HP proliant
machine?

Thanks,
J

On Wed, Sep 8, 2010 at 11:53 AM, Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com> wrote:
> On Sun, Sep 05, 2010 at 10:45:00PM -0400, K L wrote:
>> 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)
>
> Does it work under dom0?
>>
>> My machine is HP proliant. I can provide further information if needed.
>>
>> Thanks,
>> Jeff
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xenoprofile cannot run in active mode in domU
  2010-09-09  2:33   ` K L
@ 2010-09-20 14:59     ` Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 4+ messages in thread
From: Konrad Rzeszutek Wilk @ 2010-09-20 14:59 UTC (permalink / raw)
  To: K L; +Cc: xen-devel

On Wed, Sep 08, 2010 at 10:33:57PM -0400, K L wrote:
> No. It returns timer mode.
> 
> trillian14:~# opcontrol -l
> Using timer interrupt.
> 
> Is it possible that power regulator has something to do with the error
> because I see some APIC entries(dmesg) are always disabled even if I
> enable all APIC in BIOS. Have you had experience on HP proliant

I doubt it.
> machine?

No. I think this requires a bit more of digging in how this (oprofile) 
used to work in older version of Xen and Linux and see what needs to be fixed to
get this working again.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-20 14:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-06  2:45 xenoprofile cannot run in active mode in domU K L
2010-09-08 15:53 ` Konrad Rzeszutek Wilk
2010-09-09  2:33   ` K L
2010-09-20 14:59     ` Konrad Rzeszutek Wilk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.