[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100805103206.GM26154@erda.amd.com>
Date: Thu, 5 Aug 2010 12:32:06 +0200
From: Robert Richter <robert.richter@....com>
To: Josh Hunt <johunt@...mai.com>, Ingo Molnar <mingo@...e.hu>
CC: "oprofile-list@...ts.sf.net" <oprofile-list@...ts.sf.net>,
"andi@...stfloor.org" <andi@...stfloor.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"juhlenko@...mai.com" <juhlenko@...mai.com>
Subject: Re: [PATCH] oprofile: add support for Intel processor model 30
On 04.08.10 20:27:05, Josh Hunt wrote:
> Newer Intel processors identifying themselves as model 30 are not recognized by
> oprofile.
> Tested using oprofile 0.9.6.
>
> Signed-off-by: Josh Hunt <johunt@...mai.com>
Applied to:
git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git core
(I converted the model number to hex.)
Thanks Josh.
Ingo,
please (ff-only) pull this again for tip/perf/core. You already send
the pull request for Linus, but I think this patch will make it for
v2.6.36 too?
Thanks.
-Robert
> ---
> arch/x86/oprofile/nmi_int.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
> index b28d2f1..6f95251 100644
> --- a/arch/x86/oprofile/nmi_int.c
> +++ b/arch/x86/oprofile/nmi_int.c
> @@ -657,6 +657,7 @@ static int __init ppro_init(char **cpu_type)
> break;
> case 0x2e:
> case 26:
> + case 30:
> spec = &op_arch_perfmon_spec;
> *cpu_type = "i386/core_i7";
> break;
> --
> 1.7.0.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists