Messages in this thread | | | Date | Wed, 16 Jul 2003 19:05:35 +0100 | From | Dave Jones <> | Subject | Re: [PATCH] Use of Performance Monitoring Counters based on Model number |
| |
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/
| |