summaryrefslogtreecommitdiffstats
path: root/sys/i386/conf
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-03-26 19:57:56 +0000
committerwollman <wollman@FreeBSD.org>1996-03-26 19:57:56 +0000
commitcbb78b9a7316d2984839ddaf234316134254d8e0 (patch)
treed1f6c7dc1e6b4140834e537b639ecf4d5f707640 /sys/i386/conf
parent3a263cba5b4fe8454eb77985b07ee55b69b1048a (diff)
downloadFreeBSD-src-cbb78b9a7316d2984839ddaf234316134254d8e0.zip
FreeBSD-src-cbb78b9a7316d2984839ddaf234316134254d8e0.tar.gz
Add support for Pentium and Pentium Pro performance counters.
(This code is as yet untested; to come after man page is written.) This also adds inlines to cpufunc.h for the RDTSC, RDMSR, WRMSR, and RDPMC instructions. The user-mode interface is via a subdevice of mem.c; there is also a kernel-size interface which might be used to aid profiling.
Diffstat (limited to 'sys/i386/conf')
-rw-r--r--sys/i386/conf/files.i3863
-rw-r--r--sys/i386/conf/options.i3862
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/conf/files.i386 b/sys/i386/conf/files.i386
index 5c40866..65f44f9 100644
--- a/sys/i386/conf/files.i386
+++ b/sys/i386/conf/files.i386
@@ -1,7 +1,7 @@
# This file tells config what files go into building a kernel,
# files marked standard are always included.
#
-# $Id: files.i386,v 1.130 1996/03/02 19:37:34 peter Exp $
+# $Id: files.i386,v 1.131 1996/03/15 07:49:02 peter Exp $
#
aic7xxx_asm optional ahc device-driver \
dependency "$S/dev/aic7xxx/aic7xxx_asm.c" \
@@ -50,6 +50,7 @@ i386/i386/math_emulate.c optional math_emulate
i386/i386/mem.c standard
i386/i386/microtime.s standard
i386/i386/ns_cksum.c optional ns
+i386/i386/perfmon.c optional perfmon
i386/i386/pmap.c standard
i386/i386/procfs_machdep.c standard
i386/i386/support.s standard
diff --git a/sys/i386/conf/options.i386 b/sys/i386/conf/options.i386
index eb474eb..42ab489 100644
--- a/sys/i386/conf/options.i386
+++ b/sys/i386/conf/options.i386
@@ -1,3 +1,4 @@
+# $Id$
BOUNCEPAGES opt_bounce.h
USER_LDT
MATH_EMULATE opt_math_emulate.h
@@ -9,3 +10,4 @@ PANIC_REBOOT_WAIT_TIME opt_machdep.h
LARGEMEM opt_machdep.h
MAXMEM opt_machdep.h
LINUX opt_linux.h
+PERFMON opt_perfmon.h
OpenPOWER on IntegriCloud