diff options
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2007-10-19 02:41:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:54 -0400 |
commit | 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9 (patch) | |
tree | 988da227d46be7eb239a37676b9140d325dc4335 /arch/x86_64 | |
parent | 1c3f0b8e07de78a86f2dce911f5e245845ce40a8 (diff) |
Combine instrumentation menus in kernel/Kconfig.instrumentation
Quoting Randy:
"It seems sad that this patch sources Kconfig.marker, a 7-line file,
20-something times. Yes, you (we) don't want to put those 7 lines into
20-something different files, so sourcing is the right thing.
However, what you did for avr32 seems more on the right track to me: make
_one_ Instrumentation support menu that includes PROFILING, OPROFILE, KPROBES,
and MARKERS and then use (source) that in all of the arches."
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/Kconfig | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index 78cb68f2ebbd..d2521942e5bd 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -799,21 +799,6 @@ source "drivers/firmware/Kconfig" | |||
799 | 799 | ||
800 | source fs/Kconfig | 800 | source fs/Kconfig |
801 | 801 | ||
802 | menu "Instrumentation Support" | ||
803 | |||
804 | source "arch/x86/oprofile/Kconfig" | ||
805 | |||
806 | config KPROBES | ||
807 | bool "Kprobes" | ||
808 | depends on KALLSYMS && MODULES | ||
809 | help | ||
810 | Kprobes allows you to trap at almost any kernel address and | ||
811 | execute a callback function. register_kprobe() establishes | ||
812 | a probepoint and specifies the callback. Kprobes is useful | ||
813 | for kernel debugging, non-intrusive instrumentation and testing. | ||
814 | If in doubt, say "N". | ||
815 | endmenu | ||
816 | |||
817 | source "arch/x86_64/Kconfig.debug" | 802 | source "arch/x86_64/Kconfig.debug" |
818 | 803 | ||
819 | source "security/Kconfig" | 804 | source "security/Kconfig" |