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/s390 | |
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/s390')
-rw-r--r-- | arch/s390/Kconfig | 16 | ||||
-rw-r--r-- | arch/s390/oprofile/Kconfig | 22 |
2 files changed, 1 insertions, 37 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index b71132166f60..4ec716d8c1a6 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
@@ -529,21 +529,7 @@ source "drivers/Kconfig" | |||
529 | 529 | ||
530 | source "fs/Kconfig" | 530 | source "fs/Kconfig" |
531 | 531 | ||
532 | menu "Instrumentation Support" | 532 | source "kernel/Kconfig.instrumentation" |
533 | |||
534 | source "arch/s390/oprofile/Kconfig" | ||
535 | |||
536 | config KPROBES | ||
537 | bool "Kprobes (EXPERIMENTAL)" | ||
538 | depends on EXPERIMENTAL && MODULES | ||
539 | help | ||
540 | Kprobes allows you to trap at almost any kernel address and | ||
541 | execute a callback function. register_kprobe() establishes | ||
542 | a probepoint and specifies the callback. Kprobes is useful | ||
543 | for kernel debugging, non-intrusive instrumentation and testing. | ||
544 | If in doubt, say "N". | ||
545 | |||
546 | endmenu | ||
547 | 533 | ||
548 | source "arch/s390/Kconfig.debug" | 534 | source "arch/s390/Kconfig.debug" |
549 | 535 | ||
diff --git a/arch/s390/oprofile/Kconfig b/arch/s390/oprofile/Kconfig deleted file mode 100644 index 208220a5f23f..000000000000 --- a/arch/s390/oprofile/Kconfig +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | |||
2 | menu "Profiling support" | ||
3 | |||
4 | config PROFILING | ||
5 | bool "Profiling support" | ||
6 | help | ||
7 | Say Y here to enable profiling support mechanisms used by | ||
8 | profilers such as readprofile or OProfile. | ||
9 | |||
10 | |||
11 | config OPROFILE | ||
12 | tristate "OProfile system profiling" | ||
13 | depends on PROFILING | ||
14 | help | ||
15 | OProfile is a profiling system capable of profiling the | ||
16 | whole system, include the kernel, kernel modules, libraries, | ||
17 | and applications. | ||
18 | |||
19 | If unsure, say N. | ||
20 | |||
21 | endmenu | ||
22 | |||