Re: [PATCH] Use of Performance Monitoring Counters based on Model number

From: Dave Jones (
Date: Wed Jul 16 2003 - 13:05:35 EST

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:25 EST