Kconfig (9d4d8572a539ef807e21c196f145aa365fd52f0e) Kconfig (28cc65a173819ccb049d6335ebe82c1be054e9bb)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Architectures that offer an FUNCTION_TRACER implementation should
4# select HAVE_FUNCTION_TRACER:
5#
6
7config USER_STACKTRACE_SUPPORT
8 bool

--- 524 unchanged lines hidden (view full) ---

533 various register and memory values.
534
535 This option is also required by perf-probe subcommand of perf tools.
536 If you want to use perf tools, this option is strongly recommended.
537
538config KPROBE_EVENTS_ON_NOTRACE
539 bool "Do NOT protect notrace function from kprobe events"
540 depends on KPROBE_EVENTS
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Architectures that offer an FUNCTION_TRACER implementation should
4# select HAVE_FUNCTION_TRACER:
5#
6
7config USER_STACKTRACE_SUPPORT
8 bool

--- 524 unchanged lines hidden (view full) ---

533 various register and memory values.
534
535 This option is also required by perf-probe subcommand of perf tools.
536 If you want to use perf tools, this option is strongly recommended.
537
538config KPROBE_EVENTS_ON_NOTRACE
539 bool "Do NOT protect notrace function from kprobe events"
540 depends on KPROBE_EVENTS
541 depends on KPROBES_ON_FTRACE
541 depends on DYNAMIC_FTRACE
542 default n
543 help
544 This is only for the developers who want to debug ftrace itself
545 using kprobe events.
546
547 If kprobes can use ftrace instead of breakpoint, ftrace related
542 default n
543 help
544 This is only for the developers who want to debug ftrace itself
545 using kprobe events.
546
547 If kprobes can use ftrace instead of breakpoint, ftrace related
548 functions are protected from kprobe-events to prevent an infinit
548 functions are protected from kprobe-events to prevent an infinite
549 recursion or any unexpected execution path which leads to a kernel
550 crash.
551
552 This option disables such protection and allows you to put kprobe
553 events on ftrace functions for debugging ftrace by itself.
554 Note that this might let you shoot yourself in the foot.
555
556 If unsure, say N.

--- 386 unchanged lines hidden ---
549 recursion or any unexpected execution path which leads to a kernel
550 crash.
551
552 This option disables such protection and allows you to put kprobe
553 events on ftrace functions for debugging ftrace by itself.
554 Note that this might let you shoot yourself in the foot.
555
556 If unsure, say N.

--- 386 unchanged lines hidden ---