Kconfig (175ae3ad59ab3459652bd2ae3bbc1785aeba1bf3) Kconfig (e5a971d76d701dbff9e5dbaa84dc9e8c3081a867)
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

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

153config FUNCTION_TRACER
154 bool "Kernel Function Tracer"
155 depends on HAVE_FUNCTION_TRACER
156 select KALLSYMS
157 select GENERIC_TRACER
158 select CONTEXT_SWITCH_TRACER
159 select GLOB
160 select TASKS_RCU if PREEMPTION
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

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

153config FUNCTION_TRACER
154 bool "Kernel Function Tracer"
155 depends on HAVE_FUNCTION_TRACER
156 select KALLSYMS
157 select GENERIC_TRACER
158 select CONTEXT_SWITCH_TRACER
159 select GLOB
160 select TASKS_RCU if PREEMPTION
161 select TASKS_RUDE_RCU
161 help
162 Enable the kernel to trace every kernel function. This is done
163 by using a compiler feature to insert a small, 5-byte No-Operation
164 instruction at the beginning of every kernel function, which NOP
165 sequence is then dynamically patched into a tracer call when
166 tracing is enabled by the administrator. If it's runtime disabled
167 (the bootup default), then the overhead of the instructions is very
168 small and not measurable even in micro-benchmarks.

--- 686 unchanged lines hidden ---
162 help
163 Enable the kernel to trace every kernel function. This is done
164 by using a compiler feature to insert a small, 5-byte No-Operation
165 instruction at the beginning of every kernel function, which NOP
166 sequence is then dynamically patched into a tracer call when
167 tracing is enabled by the administrator. If it's runtime disabled
168 (the bootup default), then the overhead of the instructions is very
169 small and not measurable even in micro-benchmarks.

--- 686 unchanged lines hidden ---