]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - kernel/trace/Kconfig
tracing: Provide trace events interface for uprobes
[mirror_ubuntu-jammy-kernel.git] / kernel / trace / Kconfig
index ce5a5c54ac8fd6d3373ad6f685630cbf2dc65520..ea4bff6295fcf0c37713dadd1304be3e47ac9995 100644 (file)
@@ -386,6 +386,22 @@ config KPROBE_EVENT
          This option is also required by perf-probe subcommand of perf tools.
          If you want to use perf tools, this option is strongly recommended.
 
+config UPROBE_EVENT
+       bool "Enable uprobes-based dynamic events"
+       depends on ARCH_SUPPORTS_UPROBES
+       depends on MMU
+       select UPROBES
+       select PROBE_EVENTS
+       select TRACING
+       default n
+       help
+         This allows the user to add tracing events on top of userspace
+         dynamic events (similar to tracepoints) on the fly via the trace
+         events interface. Those events can be inserted wherever uprobes
+         can probe, and record various registers.
+         This option is required if you plan to use perf-probe subcommand
+         of perf tools on user space applications.
+
 config PROBE_EVENTS
        def_bool n