ar71xx: refresh patches
[openwrt.git] / config / Config-kernel.in
index a0d9472..cc8df5a 100644 (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.
 
          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
 config KERNEL_AIO
        bool "Compile the kernel with asynchronous IO support"
        default n
@@ -516,16 +533,14 @@ if KERNEL_LXC_MISC
 
 endif
 
 
 endif
 
+config KERNEL_SECCOMP_FILTER
+       bool
+       default n
+
 config KERNEL_SECCOMP
        bool "Enable seccomp support"
 config KERNEL_SECCOMP
        bool "Enable seccomp support"
-               depends on !(TARGET_uml || TARGET_avr32)
+               depends on !(TARGET_uml)
+               select KERNEL_SECCOMP_FILTER
                default n
                help
                  Build kernel with support for seccomp.
                default n
                help
                  Build kernel with support for seccomp.
-
-config KERNEL_SECCOMP_FILTER
-       bool "Enable seccomp filter support"
-               depends on KERNEL_SECCOMP
-               default n
-               help
-                 Build kernel with support for seccomp BPF programs.