summaryrefslogtreecommitdiffstats
path: root/sys/sys/pmc.h
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2009-01-27 07:29:37 +0000
committerjeff <jeff@FreeBSD.org>2009-01-27 07:29:37 +0000
commitca96799f52af167cdf4c406447ad2a91231aabde (patch)
tree9db3173a97c344f1ba6a2b5482b1a247d431ca14 /sys/sys/pmc.h
parentcabe8a03df5a5eb90a10202fabf00e8670968d3e (diff)
downloadFreeBSD-src-ca96799f52af167cdf4c406447ad2a91231aabde.zip
FreeBSD-src-ca96799f52af167cdf4c406447ad2a91231aabde.tar.gz
- Add support for nehalem/corei7 cpus. This supports all of the core
counters defined in the reference manual. It does not support the 'uncore' events. Reviewed by: jkoshy Sponsored by: Nokia
Diffstat (limited to 'sys/sys/pmc.h')
-rw-r--r--sys/sys/pmc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h
index 92fb3e5..2be03d1 100644
--- a/sys/sys/pmc.h
+++ b/sys/sys/pmc.h
@@ -83,7 +83,8 @@
__PMC_CPU(INTEL_CORE, 0x87, "Intel Core Solo/Duo") \
__PMC_CPU(INTEL_CORE2, 0x88, "Intel Core2") \
__PMC_CPU(INTEL_CORE2EXTREME, 0x89, "Intel Core2 Extreme") \
- __PMC_CPU(INTEL_ATOM, 0x8A, "Intel Atom")
+ __PMC_CPU(INTEL_ATOM, 0x8A, "Intel Atom") \
+ __PMC_CPU(INTEL_COREI7, 0x8B, "Intel Core i7")
enum pmc_cputype {
#undef __PMC_CPU
@@ -92,7 +93,7 @@ enum pmc_cputype {
};
#define PMC_CPU_FIRST PMC_CPU_AMD_K7
-#define PMC_CPU_LAST PMC_CPU_INTEL_ATOM
+#define PMC_CPU_LAST PMC_CPU_INTEL_COREI7
/*
* Classes of PMCs
OpenPOWER on IntegriCloud