Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig

Move the instrumentation Kconfig to

arch/Kconfig for architecture dependent options
  - oprofile
  - kprobes

and

init/Kconfig for architecture independent options
  - profiling
  - markers

Remove the "Instrumentation Support" menu. Everything moves to "General setup".
Delete the kernel/Kconfig.instrumentation file.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
Mathieu Desnoyers
2008-02-02 15:10:36 -05:00
committed by Sam Ravnborg
parent 3f550096de
commit 125e564582
25 changed files with 40 additions and 99 deletions
+28
View File
@@ -1,3 +1,31 @@
#
# General architecture dependent options
#
config OPROFILE
tristate "OProfile system profiling (EXPERIMENTAL)"
depends on PROFILING
depends on HAVE_OPROFILE
help
OProfile is a profiling system capable of profiling the
whole system, include the kernel, kernel modules, libraries,
and applications.
If unsure, say N.
config HAVE_OPROFILE
def_bool n
config KPROBES
bool "Kprobes"
depends on KALLSYMS && MODULES
depends on HAVE_KPROBES
help
Kprobes allows you to trap at almost any kernel address and
execute a callback function. register_kprobe() establishes
a probepoint and specifies the callback. Kprobes is useful
for kernel debugging, non-intrusive instrumentation and testing.
If in doubt, say "N".
config HAVE_KPROBES
def_bool n
-2
View File
@@ -650,8 +650,6 @@ source "drivers/Kconfig"
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/alpha/Kconfig.debug"
# DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
-2
View File
@@ -1147,8 +1147,6 @@ endmenu
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/arm/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -974,8 +974,6 @@ source "drivers/Kconfig"
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/blackfin/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -213,8 +213,6 @@ source "drivers/pci/Kconfig"
source "drivers/usb/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/cris/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -375,8 +375,6 @@ source "drivers/Kconfig"
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/frv/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -223,8 +223,6 @@ endmenu
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/h8300/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -602,8 +602,6 @@ config IRQ_PER_CPU
source "arch/ia64/hp/sim/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/ia64/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -427,8 +427,6 @@ source "drivers/Kconfig"
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/m32r/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -678,8 +678,6 @@ endmenu
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/m68k/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -711,8 +711,6 @@ source "drivers/Kconfig"
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/m68knommu/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -2096,8 +2096,6 @@ source "drivers/Kconfig"
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/mips/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -273,8 +273,6 @@ source "drivers/Kconfig"
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/parisc/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -715,8 +715,6 @@ source "arch/powerpc/sysdev/qe_lib/Kconfig"
source "lib/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/powerpc/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -1258,8 +1258,6 @@ endmenu
source "lib/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/ppc/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -528,8 +528,6 @@ source "drivers/Kconfig"
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/s390/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -897,8 +897,6 @@ source "drivers/Kconfig"
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/sh/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -321,8 +321,6 @@ endmenu
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/sparc/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -467,8 +467,6 @@ source "drivers/sbus/char/Kconfig"
source "fs/Kconfig"
source "kernel/Kconfig.instrumentation"
source "arch/sparc64/Kconfig.debug"
source "security/Kconfig"
-2
View File
@@ -289,6 +289,4 @@ config INPUT
bool
default n
source "kernel/Kconfig.instrumentation"
source "arch/um/Kconfig.debug"

Some files were not shown because too many files have changed in this diff Show More