Commit 125e564582cbce6219397fc64556438420efae4c
Committed by
Sam Ravnborg
1 parent
3f550096de
Exists in
master
and in
4 other branches
Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig
Move the instrumentation Kconfig to arch/Kconfig for architecture dependent options - oprofile - kprobes and init/Kconfig for architecture independent options - profiling - markers Remove the "Instrumentation Support" menu. Everything moves to "General setup". Delete the kernel/Kconfig.instrumentation file. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Showing 25 changed files with 40 additions and 99 deletions Side-by-side Diff
- arch/Kconfig
- arch/alpha/Kconfig
- arch/arm/Kconfig
- arch/blackfin/Kconfig
- arch/cris/Kconfig
- arch/frv/Kconfig
- arch/h8300/Kconfig
- arch/ia64/Kconfig
- arch/m32r/Kconfig
- arch/m68k/Kconfig
- arch/m68knommu/Kconfig
- arch/mips/Kconfig
- arch/parisc/Kconfig
- arch/powerpc/Kconfig
- arch/ppc/Kconfig
- arch/s390/Kconfig
- arch/sh/Kconfig
- arch/sparc/Kconfig
- arch/sparc64/Kconfig
- arch/um/Kconfig
- arch/v850/Kconfig
- arch/x86/Kconfig
- arch/xtensa/Kconfig
- init/Kconfig
- kernel/Kconfig.instrumentation
arch/Kconfig
1 | 1 | # |
2 | 2 | # General architecture dependent options |
3 | 3 | # |
4 | + | |
5 | +config OPROFILE | |
6 | + tristate "OProfile system profiling (EXPERIMENTAL)" | |
7 | + depends on PROFILING | |
8 | + depends on HAVE_OPROFILE | |
9 | + help | |
10 | + OProfile is a profiling system capable of profiling the | |
11 | + whole system, include the kernel, kernel modules, libraries, | |
12 | + and applications. | |
13 | + | |
14 | + If unsure, say N. | |
15 | + | |
16 | +config HAVE_OPROFILE | |
17 | + def_bool n | |
18 | + | |
19 | +config KPROBES | |
20 | + bool "Kprobes" | |
21 | + depends on KALLSYMS && MODULES | |
22 | + depends on HAVE_KPROBES | |
23 | + help | |
24 | + Kprobes allows you to trap at almost any kernel address and | |
25 | + execute a callback function. register_kprobe() establishes | |
26 | + a probepoint and specifies the callback. Kprobes is useful | |
27 | + for kernel debugging, non-intrusive instrumentation and testing. | |
28 | + If in doubt, say "N". | |
29 | + | |
30 | +config HAVE_KPROBES | |
31 | + def_bool n |
arch/alpha/Kconfig
arch/arm/Kconfig
arch/blackfin/Kconfig
arch/cris/Kconfig
arch/frv/Kconfig
arch/h8300/Kconfig
arch/ia64/Kconfig
arch/m32r/Kconfig
arch/m68k/Kconfig
arch/m68knommu/Kconfig
arch/mips/Kconfig
arch/parisc/Kconfig
arch/powerpc/Kconfig
arch/ppc/Kconfig
arch/s390/Kconfig
arch/sh/Kconfig
arch/sparc/Kconfig
arch/sparc64/Kconfig
arch/um/Kconfig
arch/v850/Kconfig
arch/x86/Kconfig
arch/xtensa/Kconfig
init/Kconfig
... | ... | @@ -665,6 +665,18 @@ |
665 | 665 | |
666 | 666 | endchoice |
667 | 667 | |
668 | +config PROFILING | |
669 | + bool "Profiling support (EXPERIMENTAL)" | |
670 | + help | |
671 | + Say Y here to enable the extended profiling support mechanisms used | |
672 | + by profilers such as OProfile. | |
673 | + | |
674 | +config MARKERS | |
675 | + bool "Activate markers" | |
676 | + help | |
677 | + Place an empty function call at each marker site. Can be | |
678 | + dynamically changed for a probe function. | |
679 | + | |
668 | 680 | source "arch/Kconfig" |
669 | 681 | |
670 | 682 | endmenu # General setup |
kernel/Kconfig.instrumentation
1 | -menuconfig INSTRUMENTATION | |
2 | - bool "Instrumentation Support" | |
3 | - default y | |
4 | - ---help--- | |
5 | - Say Y here to get to see options related to performance measurement, | |
6 | - system-wide debugging, and testing. This option alone does not add any | |
7 | - kernel code. | |
8 | - | |
9 | - If you say N, all options in this submenu will be skipped and | |
10 | - disabled. If you're trying to debug the kernel itself, go see the | |
11 | - Kernel Hacking menu. | |
12 | - | |
13 | -if INSTRUMENTATION | |
14 | - | |
15 | -config PROFILING | |
16 | - bool "Profiling support (EXPERIMENTAL)" | |
17 | - help | |
18 | - Say Y here to enable the extended profiling support mechanisms used | |
19 | - by profilers such as OProfile. | |
20 | - | |
21 | -config OPROFILE | |
22 | - tristate "OProfile system profiling (EXPERIMENTAL)" | |
23 | - depends on PROFILING && !UML | |
24 | - depends on HAVE_OPROFILE | |
25 | - help | |
26 | - OProfile is a profiling system capable of profiling the | |
27 | - whole system, include the kernel, kernel modules, libraries, | |
28 | - and applications. | |
29 | - | |
30 | - If unsure, say N. | |
31 | - | |
32 | -config HAVE_OPROFILE | |
33 | - def_bool n | |
34 | - | |
35 | -config KPROBES | |
36 | - bool "Kprobes" | |
37 | - depends on KALLSYMS && MODULES && !UML | |
38 | - depends on HAVE_KPROBES | |
39 | - help | |
40 | - Kprobes allows you to trap at almost any kernel address and | |
41 | - execute a callback function. register_kprobe() establishes | |
42 | - a probepoint and specifies the callback. Kprobes is useful | |
43 | - for kernel debugging, non-intrusive instrumentation and testing. | |
44 | - If in doubt, say "N". | |
45 | - | |
46 | -config HAVE_KPROBES | |
47 | - def_bool n | |
48 | - | |
49 | -config MARKERS | |
50 | - bool "Activate markers" | |
51 | - help | |
52 | - Place an empty function call at each marker site. Can be | |
53 | - dynamically changed for a probe function. | |
54 | - | |
55 | -endif # INSTRUMENTATION |