aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hwpmc/hwpmc_pentium.c
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2005-06-09 19:45:09 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2005-06-09 19:45:09 +0000
commitf263522a45b9cf5cfb83a40e3135aa7108764d60 (patch)
tree4970329c2802c6329dd4f6e781d84b27dbf8f412 /sys/dev/hwpmc/hwpmc_pentium.c
parenta3f2d84279eabfd904a9897e2fbf6cc2a1ba0d27 (diff)
MFP4:
- Implement sampling modes and logging support in hwpmc(4). - Separate MI and MD parts of hwpmc(4) and allow sharing of PMC implementations across different architectures. Add support for P4 (EMT64) style PMCs to the amd64 code. - New pmcstat(8) options: -E (exit time counts) -W (counts every context switch), -R (print log file). - pmc(3) API changes, improve our ability to keep ABI compatibility in the future. Add more 'alias' names for commonly used events. - bug fixes & documentation.
Notes
Notes: svn path=/head/; revision=147191
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_pentium.c')
-rw-r--r--sys/dev/hwpmc/hwpmc_pentium.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/hwpmc/hwpmc_pentium.c b/sys/dev/hwpmc/hwpmc_pentium.c
index 48e8be34df0d..fc26b5252649 100644
--- a/sys/dev/hwpmc/hwpmc_pentium.c
+++ b/sys/dev/hwpmc/hwpmc_pentium.c
@@ -35,8 +35,9 @@ __FBSDID("$FreeBSD$");
#include <sys/smp.h>
#include <sys/systm.h>
-#include <machine/cputypes.h>
+#include <machine/cpufunc.h>
#include <machine/md_var.h>
+#include <machine/pmc_mdep.h>
/*
* Intel Pentium PMCs