config: add an option to enable KPROBE
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45212
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user