diff options
author | Prasanna S Panchamukhi <prasanna@in.ibm.com> | 2005-11-07 03:59:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:35 -0500 |
commit | cd6b0762a04978baf48412456a687842de97e381 (patch) | |
tree | 86978ae5a1e00c6ab6d0a3f58e37f85de079a2b8 /arch/i386 | |
parent | 78512ece148992a5c00c63fbf4404f3cde635016 (diff) |
[PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu
Andrew Morton suggested to move kprobes from kernel hacking menu, since
kernel hacking menu is in-appropriate for the Kprobes. This patch moves
Kprobes and Oprofile under instrumentation menu.
(akpm: it's not a natural fit, but things like djprobes and the s390 guys'
statistics library need a home)
Signed-of-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Cc: John Levon <levon@movementarian.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/Kconfig | 13 | ||||
-rw-r--r-- | arch/i386/Kconfig.debug | 10 | ||||
-rw-r--r-- | arch/i386/oprofile/Kconfig | 6 |
3 files changed, 13 insertions, 16 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index bac0da731ee3..dbf90ad6eac3 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -997,8 +997,21 @@ source "drivers/Kconfig" | |||
997 | 997 | ||
998 | source "fs/Kconfig" | 998 | source "fs/Kconfig" |
999 | 999 | ||
1000 | menu "Instrumentation Support" | ||
1001 | depends on EXPERIMENTAL | ||
1002 | |||
1000 | source "arch/i386/oprofile/Kconfig" | 1003 | source "arch/i386/oprofile/Kconfig" |
1001 | 1004 | ||
1005 | config KPROBES | ||
1006 | bool "Kprobes (EXPERIMENTAL)" | ||
1007 | help | ||
1008 | Kprobes allows you to trap at almost any kernel address and | ||
1009 | execute a callback function. register_kprobe() establishes | ||
1010 | a probepoint and specifies the callback. Kprobes is useful | ||
1011 | for kernel debugging, non-intrusive instrumentation and testing. | ||
1012 | If in doubt, say "N". | ||
1013 | endmenu | ||
1014 | |||
1002 | source "arch/i386/Kconfig.debug" | 1015 | source "arch/i386/Kconfig.debug" |
1003 | 1016 | ||
1004 | source "security/Kconfig" | 1017 | source "security/Kconfig" |
diff --git a/arch/i386/Kconfig.debug b/arch/i386/Kconfig.debug index 5228c40a6fb2..c48b424dd640 100644 --- a/arch/i386/Kconfig.debug +++ b/arch/i386/Kconfig.debug | |||
@@ -22,16 +22,6 @@ config DEBUG_STACKOVERFLOW | |||
22 | This option will cause messages to be printed if free stack space | 22 | This option will cause messages to be printed if free stack space |
23 | drops below a certain limit. | 23 | drops below a certain limit. |
24 | 24 | ||
25 | config KPROBES | ||
26 | bool "Kprobes" | ||
27 | depends on DEBUG_KERNEL | ||
28 | help | ||
29 | Kprobes allows you to trap at almost any kernel address and | ||
30 | execute a callback function. register_kprobe() establishes | ||
31 | a probepoint and specifies the callback. Kprobes is useful | ||
32 | for kernel debugging, non-intrusive instrumentation and testing. | ||
33 | If in doubt, say "N". | ||
34 | |||
35 | config DEBUG_STACK_USAGE | 25 | config DEBUG_STACK_USAGE |
36 | bool "Stack utilization instrumentation" | 26 | bool "Stack utilization instrumentation" |
37 | depends on DEBUG_KERNEL | 27 | depends on DEBUG_KERNEL |
diff --git a/arch/i386/oprofile/Kconfig b/arch/i386/oprofile/Kconfig index 5ade19801b97..d8a84088471a 100644 --- a/arch/i386/oprofile/Kconfig +++ b/arch/i386/oprofile/Kconfig | |||
@@ -1,7 +1,3 @@ | |||
1 | |||
2 | menu "Profiling support" | ||
3 | depends on EXPERIMENTAL | ||
4 | |||
5 | config PROFILING | 1 | config PROFILING |
6 | bool "Profiling support (EXPERIMENTAL)" | 2 | bool "Profiling support (EXPERIMENTAL)" |
7 | help | 3 | help |
@@ -19,5 +15,3 @@ config OPROFILE | |||
19 | 15 | ||
20 | If unsure, say N. | 16 | If unsure, say N. |
21 | 17 | ||
22 | endmenu | ||
23 | |||