]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - kernel/Kconfig.instrumentation
Add HAVE_OPROFILE
[linux-2.6-omap-h63xx.git] / 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 X86_32 || IA64 || PPC || S390 || SPARC64 || X86_64 || AVR32 || (ARM && !XIP_KERNEL)
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 MARKERS
47         bool "Activate markers"
48         help
49           Place an empty function call at each marker site. Can be
50           dynamically changed for a probe function.
51
52 endif # INSTRUMENTATION