Kprobes: indicate kretprobe support in Kconfig
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / Kconfig
CommitLineData
fb32e03f
MD
1#
2# General architecture dependent options
3#
125e5645
MD
4
5config 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
16config HAVE_OPROFILE
17 def_bool n
18
19config 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
9edddaa2
AM
30config KRETPROBES
31 def_bool y
32 depends on KPROBES && HAVE_KRETPROBES
33
125e5645
MD
34config HAVE_KPROBES
35 def_bool n
9edddaa2
AM
36
37config HAVE_KRETPROBES
38 def_bool n