diff options
author | John Crispin <blogic@openwrt.org> | 2015-04-01 08:33:04 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-04-01 08:33:04 +0000 |
commit | 450ac468386a27c881fef9738c7daecc840e62fa (patch) | |
tree | 45898bdb2488d0e24b3d3720f0a6d75e6354d518 /config | |
parent | a04e09d6a98c8dea42cc94e9a4d05180daf7b50c (diff) | |
download | upstream-450ac468386a27c881fef9738c7daecc840e62fa.tar.gz upstream-450ac468386a27c881fef9738c7daecc840e62fa.tar.bz2 upstream-450ac468386a27c881fef9738c7daecc840e62fa.zip |
config: add an option to enable KPROBE
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45212 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'config')
-rw-r--r-- | config/Config-kernel.in | 17 |
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 |