From 3ec7ccf50187a402fea21253972796549e256f9f Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 1 Apr 2015 08:33:04 +0000 Subject: config: add an option to enable KPROBE Signed-off-by: Mathieu Olivari SVN-Revision: 45212 --- config/Config-kernel.in | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'config') diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 8471129..cc8df5a 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 -- cgit v1.1