config: kernel: Add KPROBE_EVENTS config option
authorPetr Štetiar <ynezz@true.cz>
Wed, 10 Apr 2019 15:07:34 +0000 (17:07 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sun, 5 May 2019 12:41:49 +0000 (14:41 +0200)
Upstream has renamed KPROBE_EVENT to KPROBE_EVENTS in the following
commit:

 commit 6b0b7551428e4caae1e2c023a529465a9a9ae2d4
 Author: Anton Blanchard <anton@samba.org>
 Date:   Thu Feb 16 17:00:50 2017 +1100

     perf/core: Rename CONFIG_[UK]PROBE_EVENT to CONFIG_[UK]PROBE_EVENTS

     We have uses of CONFIG_UPROBE_EVENT and CONFIG_KPROBE_EVENT as
     well as CONFIG_UPROBE_EVENTS and CONFIG_KPROBE_EVENTS.

     Consistently use the plurals.

So I'm adding this plural option in order to make kconfig happy and stop
asking about it if kernel is compiled with verbose logging:

  Enable kprobes-based dynamic events (KPROBE_EVENTS) [Y/n/?] (NEW)

Signed-off-by: Petr Štetiar <ynezz@true.cz>
config/Config-kernel.in

index 874b153b45e599bbc383fe2c1869c633b0214063..1df430d5312b774ebc59a26ac3076b42b2c68264 100644 (file)
@@ -192,6 +192,10 @@ config KERNEL_KPROBE_EVENT
        bool
        default y if KERNEL_KPROBES
 
+config KERNEL_KPROBE_EVENTS
+       bool
+       default y if KERNEL_KPROBES
+
 config KERNEL_AIO
        bool "Compile the kernel with asynchronous IO support"
        default n