diff options
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index f347ac91292d..8c4c07071cc5 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -372,6 +372,7 @@ config KPROBE_EVENT | |||
372 | depends on HAVE_REGS_AND_STACK_ACCESS_API | 372 | depends on HAVE_REGS_AND_STACK_ACCESS_API |
373 | bool "Enable kprobes-based dynamic events" | 373 | bool "Enable kprobes-based dynamic events" |
374 | select TRACING | 374 | select TRACING |
375 | select PROBE_EVENTS | ||
375 | default y | 376 | default y |
376 | help | 377 | help |
377 | This allows the user to add tracing events (similar to tracepoints) | 378 | This allows the user to add tracing events (similar to tracepoints) |
@@ -384,6 +385,25 @@ config KPROBE_EVENT | |||
384 | This option is also required by perf-probe subcommand of perf tools. | 385 | This option is also required by perf-probe subcommand of perf tools. |
385 | If you want to use perf tools, this option is strongly recommended. | 386 | If you want to use perf tools, this option is strongly recommended. |
386 | 387 | ||
388 | config UPROBE_EVENT | ||
389 | bool "Enable uprobes-based dynamic events" | ||
390 | depends on ARCH_SUPPORTS_UPROBES | ||
391 | depends on MMU | ||
392 | select UPROBES | ||
393 | select PROBE_EVENTS | ||
394 | select TRACING | ||
395 | default n | ||
396 | help | ||
397 | This allows the user to add tracing events on top of userspace | ||
398 | dynamic events (similar to tracepoints) on the fly via the trace | ||
399 | events interface. Those events can be inserted wherever uprobes | ||
400 | can probe, and record various registers. | ||
401 | This option is required if you plan to use perf-probe subcommand | ||
402 | of perf tools on user space applications. | ||
403 | |||
404 | config PROBE_EVENTS | ||
405 | def_bool n | ||
406 | |||
387 | config DYNAMIC_FTRACE | 407 | config DYNAMIC_FTRACE |
388 | bool "enable/disable ftrace tracepoints dynamically" | 408 | bool "enable/disable ftrace tracepoints dynamically" |
389 | depends on FUNCTION_TRACER | 409 | depends on FUNCTION_TRACER |