From cbb78b9a7316d2984839ddaf234316134254d8e0 Mon Sep 17 00:00:00 2001 From: wollman Date: Tue, 26 Mar 1996 19:57:56 +0000 Subject: 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. --- sys/i386/conf/files.i386 | 3 ++- sys/i386/conf/options.i386 | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/i386/conf') 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 -- cgit v1.1