Re: [PATCH] oprofile: Add support for missing Intel core i7 models

From: Robert Richter
Date: Thu Jan 13 2011 - 19:12:51 EST


On 13.01.11 17:38:11, Shawn Bohrer wrote:
> Added missing core i7 models found in "Intel 64 and IA-32 Architectures
> Software Developer's Manual Volume 3B: System Programming Guide",
> Table B-1. Tested with oprofile 0.9.6 on a:
>
> model : 44
> model name : Intel(R) Xeon(R) CPU X5680 @ 3.33GHz
>
> Signed-off-by: Shawn Bohrer <sbohrer@xxxxxxxxxxxxxxx>

Andi,

please ACK.

Thanks,

-Robert

> ---
> arch/x86/oprofile/nmi_int.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
> index e2b7b0c..1523313 100644
> --- a/arch/x86/oprofile/nmi_int.c
> +++ b/arch/x86/oprofile/nmi_int.c
> @@ -678,6 +678,9 @@ static int __init ppro_init(char **cpu_type)
> break;
> case 0x1a:
> case 0x1e:
> + case 0x1f:
> + case 0x25:
> + case 0x2c:
> case 0x2e:
> spec = &op_arch_perfmon_spec;
> *cpu_type = "i386/core_i7";
> --
> 1.7.3.4
>
>

--
Advanced Micro Devices, Inc.
Operating System Research Center

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/