config: add an option to enable KPROBE

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45212
This commit is contained in:
John Crispin
2015-04-01 08:33:04 +00:00
parent bf7eeea7ee
commit 3ec7ccf501
6 changed files with 33 additions and 1 deletions

View File

@@ -127,6 +127,23 @@ config KERNEL_EARLY_PRINTK
debugging purposes to send messages over the serial console in early boot.
Enable this to debug early boot problems.
config KERNEL_KPROBES
bool "Compile the kernel with kprobes support"
default n
select KERNEL_FTRACE
select KERNEL_PERF_EVENTS
help
Compiles the kernel with KPROBES support, which allows you to trap
at almost any kernel address and execute a callback function.
register_kprobe() establishes a probepoint and specifies the
callback. Kprobes is useful for kernel debugging, non-intrusive
instrumentation and testing.
If in doubt, say "N".
config KERNEL_KPROBE_EVENT
bool
default y if KERNEL_KPROBES
config KERNEL_AIO
bool "Compile the kernel with asynchronous IO support"
default n