Merge tag 'docs-5.0-fixes' of git://git.lwn.net/linux
[platform/kernel/linux-starfive.git] / kernel / trace / Kconfig
index 5e3de28..fa8b1fe 100644 (file)
@@ -461,6 +461,7 @@ config KPROBE_EVENTS
        bool "Enable kprobes-based dynamic events"
        select TRACING
        select PROBE_EVENTS
+       select DYNAMIC_EVENTS
        default y
        help
          This allows the user to add tracing events (similar to tracepoints)
@@ -500,6 +501,7 @@ config UPROBE_EVENTS
        depends on PERF_EVENTS
        select UPROBES
        select PROBE_EVENTS
+       select DYNAMIC_EVENTS
        select TRACING
        default y
        help
@@ -518,6 +520,9 @@ config BPF_EVENTS
        help
          This allows the user to attach BPF programs to kprobe events.
 
+config DYNAMIC_EVENTS
+       def_bool n
+
 config PROBE_EVENTS
        def_bool n
 
@@ -630,6 +635,7 @@ config HIST_TRIGGERS
        depends on ARCH_HAVE_NMI_SAFE_CMPXCHG
        select TRACING_MAP
        select TRACING
+       select DYNAMIC_EVENTS
        default n
        help
          Hist triggers allow one or more arbitrary trace event fields