From: Jan Engelhardt Date: Mon, 16 Jul 2007 06:39:30 +0000 (-0700) Subject: Use menuconfig objects II - oprofile X-Git-Tag: v2.6.23-rc1~966 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a07c8f9cd3bf3af37595d2692cbcf50f42d4819;p=linux-2.6 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 Cc: Philippe Elie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index b1b2b30b1b..8531a540ca 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig @@ -1212,8 +1212,12 @@ source "drivers/Kconfig" source "fs/Kconfig" -menu "Instrumentation Support" +menuconfig INSTRUMENTATION + bool "Instrumentation Support" depends on EXPERIMENTAL + default y + +if INSTRUMENTATION source "arch/i386/oprofile/Kconfig" @@ -1226,7 +1230,8 @@ config KPROBES a probepoint and specifies the callback. Kprobes is useful for kernel debugging, non-intrusive instrumentation and testing. If in doubt, say "N". -endmenu + +endif # INSTRUMENTATION source "arch/i386/Kconfig.debug"