Here's an additional patch that makes the kernel support perfmon on
original Pentium Pro, another type of Pentium III, and on Core Duo.
In theory we can also add code to allow family 6/model 15 Core
machines, but they are the 64-bit kind so I'm not sure what's involved in
getting that to work right.
Vince
--- ./arch/i386/perfmon/perfmon_p6.c.orig 2007-05-23 17:18:21.000000000
-0400
+++ ./arch/i386/perfmon/perfmon_p6.c 2007-05-23 13:28:52.000000000 -0400
@@ -90,10 +90,12 @@
}
switch(cpu_data->x86_model) {
- case 3:
- case 7 ... 11:
+ case 1:
+ case 3:
+ case 6 ... 11:
break;
case 13:
+ case 14:
/* for Pentium M, we need to check if PMU exist */
rdmsr(MSR_IA32_MISC_ENABLE, low, high);
if (low & (1U << 7))
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/