public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* oprofile: enabling cpu events
@ 2005-05-07 12:39 li nux
  2005-05-07 15:08 ` Baruch Even
  0 siblings, 1 reply; 7+ messages in thread
From: li nux @ 2005-05-07 12:39 UTC (permalink / raw)
  To: linux

I want to profile cpu events using oprofile, when i
issue following command, it gives me an error saying
that oprofile is in timer mode.
What does it mean ?
the link
http://oprofile.sourceforge.net/docs/intel-piii-events.php3
says event=CPU_CLK_UNHALTED is suppported for Pentium
II processor.

Is there any way i can enable cpu events ?

# opcontrol --setup  --event=CPU_CLK_UNHALTED
You cannot specify any performance counter events
because OProfile is in timer mode.

#opcontrol --event=CPU_CLK_UNHALTED
You cannot specify any performance counter events
because OProfile is in timer mode.

-lnxluv





		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: oprofile: enabling cpu events
@ 2005-05-15 11:54 li nux
  2005-05-15 13:35 ` John Levon
  0 siblings, 1 reply; 7+ messages in thread
From: li nux @ 2005-05-15 11:54 UTC (permalink / raw)
  To: Philippe Elie; +Cc: Baruch Even, linux

Thanks Philippe,
You are right, it seems that apci is off by default.
How to turn it on ?
the flags in /proc/cpuinfo does not show acpi
cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Pentium II (Deschutes)
stepping        : 3
cpu MHz         : 450.008
cache size      : 1024 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8
sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips        : 886.78

--- Philippe Elie <phil.el@wanadoo.fr> wrote:
> On Sun, 08 May 2005 at 00:20 +0000, li nux wrote:
> 
> > Thanks Baruch,
> > # opcontrol --setup  --event=CPU_CLK_UNHALTED
> >  You cannot specify any performance counter events
> >  because OProfile is in timer mode.
>  
> 
> check if local apic support is turned on.
> 
> Philippe Elie
> 



		
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


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

end of thread, other threads:[~2005-05-15 13:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-07 12:39 oprofile: enabling cpu events li nux
2005-05-07 15:08 ` Baruch Even
2005-05-08  7:20   ` li nux
2005-05-08 12:29     ` Philippe Elie
2005-05-08 14:20     ` Baruch Even
  -- strict thread matches above, loose matches on Subject: below --
2005-05-15 11:54 li nux
2005-05-15 13:35 ` John Levon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox