diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2007-07-16 02:39:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 12:05:40 -0400 |
commit | 2a07c8f9cd3bf3af37595d2692cbcf50f42d4819 (patch) | |
tree | 552e12138bfb511230a2505c67b8b5fe7a383197 | |
parent | 66da57332005b4fa6888cc21a223c0b90505126f (diff) |
Use menuconfig objects II - oprofile
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
so that the user can disable all the options in that menu at once
instead of having to disable each option separately.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/i386/Kconfig | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index b1b2b30b1b8e..8531a540ca8c 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -1212,8 +1212,12 @@ source "drivers/Kconfig" | |||
1212 | 1212 | ||
1213 | source "fs/Kconfig" | 1213 | source "fs/Kconfig" |
1214 | 1214 | ||
1215 | menu "Instrumentation Support" | 1215 | menuconfig INSTRUMENTATION |
1216 | bool "Instrumentation Support" | ||
1216 | depends on EXPERIMENTAL | 1217 | depends on EXPERIMENTAL |
1218 | default y | ||
1219 | |||
1220 | if INSTRUMENTATION | ||
1217 | 1221 | ||
1218 | source "arch/i386/oprofile/Kconfig" | 1222 | source "arch/i386/oprofile/Kconfig" |
1219 | 1223 | ||
@@ -1226,7 +1230,8 @@ config KPROBES | |||
1226 | a probepoint and specifies the callback. Kprobes is useful | 1230 | a probepoint and specifies the callback. Kprobes is useful |
1227 | for kernel debugging, non-intrusive instrumentation and testing. | 1231 | for kernel debugging, non-intrusive instrumentation and testing. |
1228 | If in doubt, say "N". | 1232 | If in doubt, say "N". |
1229 | endmenu | 1233 | |
1234 | endif # INSTRUMENTATION | ||
1230 | 1235 | ||
1231 | source "arch/i386/Kconfig.debug" | 1236 | source "arch/i386/Kconfig.debug" |
1232 | 1237 | ||