Messages in this thread Patch in this message | | | Date | Fri, 28 Jan 2005 12:14:06 -0700 (MST) | From | Zwane Mwaikambo <> | Subject | [PATCH] OProfile: Support model 4 P4 |
| |
The following processor was marked as unsupported, there are no documented changes in the performance counter interface for this processor.
Hardware courtesy of Intel Corporation
processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Genuine Intel(R) CPU 3.60GHz stepping : 1 cpu MHz : 3600.761 cache size : 1024 KB physical id : 0 siblings : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl tm2 cid cx16 xtpr bogomips : 7110.65
CPU: P4 / Xeon with 2 hyper-threads, speed 3601.79 MHz (estimated) Counted GLOBAL_POWER_EVENTS events (time during which processor is not stopped) with a unit mask of 0x01 (count cycles when processor is active) count 10000
Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
===== arch/i386/oprofile/nmi_int.c 1.26 vs edited ===== --- 1.26/arch/i386/oprofile/nmi_int.c 2005-01-07 22:44:02 -07:00 +++ edited/arch/i386/oprofile/nmi_int.c 2005-01-28 12:07:33 -07:00 @@ -304,7 +304,7 @@ static int __init p4_init(char ** cpu_ty { __u8 cpu_model = boot_cpu_data.x86_model; - if (cpu_model > 3) + if (cpu_model > 4) return 0; #ifndef CONFIG_SMP - 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/
| |