From 81704678599279d5280af0f72f6414ee51e1c5c7 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 19 Apr 2005 22:16:46 +0000 Subject: [PATCH] Move this to the specific architectures that are supported. #ifdef foo in sys/pmc.h precludes it from working on !i386, !amd64. When that changes, it can be moved back into conf/NOTES. --- sys/amd64/conf/NOTES | 13 +++++++++++++ sys/conf/NOTES | 13 ------------- sys/i386/conf/NOTES | 13 +++++++++++++ sys/pc98/conf/NOTES | 13 +++++++++++++ 4 files changed, 39 insertions(+), 13 deletions(-) diff --git a/sys/amd64/conf/NOTES b/sys/amd64/conf/NOTES index f7780121627c..53df8db29cc5 100644 --- a/sys/amd64/conf/NOTES +++ b/sys/amd64/conf/NOTES @@ -54,6 +54,19 @@ cpu HAMMER # aka K8, aka Opteron & Athlon64 # #XXX#options PERFMON + +##################################################################### +# PERFORMANCE MONITORING OPTIONS + +# +# The hwpmc driver that allows the use of in-CPU performance monitoring +# counters for performance monitoring. The base kernel needs to configured +# with the 'options' line, while the hwpmc device can be either compiled +# in or loaded as a loadable kernel module. +# +device hwpmc # Driver (also a loadable module) +options HWPMC_HOOKS # Other necessary kernel hooks + ##################################################################### # NETWORKING OPTIONS diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 2d5ad2706b99..3f2677d75aa0 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -420,19 +420,6 @@ options REGRESSION # options COMPILING_LINT - -##################################################################### -# PERFORMANCE MONITORING OPTIONS - -# -# The hwpmc driver that allows the use of in-CPU performance monitoring -# counters for performance monitoring. The base kernel needs to configured -# with the 'options' line, while the hwpmc device can be either compiled -# in or loaded as a loadable kernel module. -# -device hwpmc # Driver (also a loadable module) -options HWPMC_HOOKS # Other necessary kernel hooks - ##################################################################### # NETWORKING OPTIONS diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 3da74fdfa82b..d5d334fffda4 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -212,6 +212,19 @@ options NPX_DEBUG # enable npx debugging # options PERFMON + +##################################################################### +# PERFORMANCE MONITORING OPTIONS + +# +# The hwpmc driver that allows the use of in-CPU performance monitoring +# counters for performance monitoring. The base kernel needs to configured +# with the 'options' line, while the hwpmc device can be either compiled +# in or loaded as a loadable kernel module. +# +device hwpmc # Driver (also a loadable module) +options HWPMC_HOOKS # Other necessary kernel hooks + ##################################################################### # NETWORKING OPTIONS diff --git a/sys/pc98/conf/NOTES b/sys/pc98/conf/NOTES index 1e66b8ac7287..c401c113e0db 100644 --- a/sys/pc98/conf/NOTES +++ b/sys/pc98/conf/NOTES @@ -175,6 +175,19 @@ options NPX_DEBUG # enable npx debugging # options PERFMON + +##################################################################### +# PERFORMANCE MONITORING OPTIONS + +# +# The hwpmc driver that allows the use of in-CPU performance monitoring +# counters for performance monitoring. The base kernel needs to configured +# with the 'options' line, while the hwpmc device can be either compiled +# in or loaded as a loadable kernel module. +# +device hwpmc # Driver (also a loadable module) +options HWPMC_HOOKS # Other necessary kernel hooks + ##################################################################### # NETWORKING OPTIONS