aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r--kernel/trace/Kconfig19
1 files changed, 12 insertions, 7 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 15372a9f2399..f05671609a89 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -428,17 +428,22 @@ config BLK_DEV_IO_TRACE
428 428
429 If unsure, say N. 429 If unsure, say N.
430 430
431config KPROBE_TRACER 431config KPROBE_EVENT
432 depends on KPROBES 432 depends on KPROBES
433 depends on X86 433 depends on X86
434 bool "Trace kprobes" 434 bool "Enable kprobes-based dynamic events"
435 select TRACING 435 select TRACING
436 select GENERIC_TRACER 436 default y
437 help 437 help
438 This tracer probes everywhere where kprobes can probe it, and 438 This allows the user to add tracing events (similar to tracepoints) on the fly
439 records various registers and memories specified by user. 439 via the ftrace interface. See Documentation/trace/kprobetrace.txt
440 This also allows you to trace kprobe probe points as a dynamic 440 for more details.
441 defined events. It provides per-probe event filtering interface. 441
442 Those events can be inserted wherever kprobes can probe, and record
443 various register and memory values.
444
445 This option is also required by perf-probe subcommand of perf tools. If
446 you want to use perf tools, this option is strongly recommended.
442 447
443config DYNAMIC_FTRACE 448config DYNAMIC_FTRACE
444 bool "enable/disable ftrace tracepoints dynamically" 449 bool "enable/disable ftrace tracepoints dynamically"