aboutsummaryrefslogtreecommitdiffstats
path: root/config/Config-kernel.in
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-04-01 08:33:04 +0000
committerJohn Crispin <john@openwrt.org>2015-04-01 08:33:04 +0000
commit3ec7ccf50187a402fea21253972796549e256f9f (patch)
tree4484f7142436e3e7898547b0d5a88119fe7aeaf0 /config/Config-kernel.in
parentbf7eeea7ee7200c29878e7ccd9bc9abac591d305 (diff)
downloadupstream-3ec7ccf50187a402fea21253972796549e256f9f.tar.gz
upstream-3ec7ccf50187a402fea21253972796549e256f9f.tar.bz2
upstream-3ec7ccf50187a402fea21253972796549e256f9f.zip
config: add an option to enable KPROBE
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45212
Diffstat (limited to 'config/Config-kernel.in')
-rw-r--r--config/Config-kernel.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 84711298a6..cc8df5ae56 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.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