From: Shawn Bohrer <sbohrer@rgmadvisors.com>
To: Robert Richter <robert.richter@amd.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, oprofile-list@lists.sf.net,
linux-kernel@vger.kernel.org,
Shawn Bohrer <sbohrer@rgmadvisors.com>
Subject: [PATCH] oprofile: Add support for missing Intel core i7 models
Date: Thu, 13 Jan 2011 16:38:11 -0600 [thread overview]
Message-ID: <1294958291-5626-1-git-send-email-sbohrer@rgmadvisors.com> (raw)
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@rgmadvisors.com>
---
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
next reply other threads:[~2011-01-13 22:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-13 22:38 Shawn Bohrer [this message]
2011-01-13 23:55 ` Robert Richter
2011-01-14 0:24 ` Andi Kleen
2011-01-14 2:29 ` Robert Richter
2011-01-14 15:20 ` Maynard Johnson
2011-01-14 23:43 ` Andi Kleen
2011-01-17 14:52 ` William Cohen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1294958291-5626-1-git-send-email-sbohrer@rgmadvisors.com \
--to=sbohrer@rgmadvisors.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=oprofile-list@lists.sf.net \
--cc=robert.richter@amd.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®