On Wed, Jul 16, 2003 at 06:19:56PM +0100, John Levon wrote:
> > Attached is a small patch to make Linux kernel use of performance
> > monitoring MSRs based on known processor models. Future processor
> > implementation models may not support the same MSR layout.
> If you're going to do this you should fix up arch/i386/oprofile/ to
> error out similarly at least
It'd also be nice to let the user know why things aren't working
instead of silent failure. A simple
printk (KERN_INFO "Performance counter support for this CPU not yet added.\n");
Should do the trick.
Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:25 EST