oprofile: add support for Core i7 and Atom
commit6adf406f0a0eaf37251018d15f51e93f5b538ee6
authorAndi Kleen <andi@firstfloor.org>
Mon, 27 Apr 2009 15:44:13 +0000 (27 17:44 +0200)
committerRobert Richter <robert.richter@amd.com>
Fri, 8 May 2009 09:06:33 +0000 (8 11:06 +0200)
treec46871a6916a64c1e9e6844bdd10efbeaadb6102
parent1f3d7b60691993d8d368d8dd7d5d85871d41e8f5
oprofile: add support for Core i7 and Atom

The registers are about the same as other Family 6 CPUs
so we only need to add detection.

I'm not completely happy with calling Nehalem Core i7 because
there will be undoubtedly other Nehalem based CPUs
in the future with different marketing names, but it's
the best we got for now.

Requires updated oprofile userland for the new event files.

If you don't want to update right now you can also use
oprofile.force_arch_perfmon=1 (added in the next patch) with 0.9.4

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/nmi_int.c