Re: oprofile: enabling cpu events

From: Philippe Elie
Date: Sun May 08 2005 - 07:27:54 EST


On Sun, 08 May 2005 at 00:20 +0000, li nux wrote:

> Thanks Baruch,
> But, I am still hitting the same issue.
> I am using SuSE 2.6.5, but oprofile code looks
> similar.
> so i manually made that small change from if
> (cpu_model > 3) to if (cpu_model > 100), and did a
> make modules and make modules_install.
> Then inserted the fresh oprofile module.
> # 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

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