Re: oprofile: enabling cpu events

From: li nux
Date: Sun May 15 2005 - 06:56:53 EST


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@xxxxxxxxxx> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/