File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ config FRAME_POINTER
5555config OLD_MCOUNT
5656 bool
5757 depends on FUNCTION_TRACER && FRAME_POINTER
58- default y
58+ default n
5959
6060config DEBUG_USER
6161 bool "Verbose user fault messages"
Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ config FUNCTION_TRACER
165165 select KALLSYMS
166166 select GENERIC_TRACER
167167 select CONTEXT_SWITCH_TRACER
168+ default n
168169 help
169170 Enable the kernel to trace every kernel function. This is done
170171 by using a compiler feature to insert a small, 5-byte No-Operation
@@ -181,6 +182,7 @@ config FUNCTION_GRAPH_TRACER
181182 depends on !X86_32 || !CC_OPTIMIZE_FOR_SIZE
182183 depends on ROP_PROTECTION_NONE
183184 default y
185+ default n
184186 help
185187 Enable the kernel to trace a function at both its return
186188 and its entry.
@@ -429,6 +431,7 @@ config STACK_TRACER
429431 select FUNCTION_TRACER
430432 select STACKTRACE
431433 select KALLSYMS
434+ default n
432435 help
433436 This special tracer records the maximum stack footprint of the
434437 kernel and displays it in /sys/kernel/debug/tracing/stack_trace.
@@ -522,7 +525,7 @@ config DYNAMIC_FTRACE
522525 bool "enable/disable function tracing dynamically"
523526 depends on FUNCTION_TRACER
524527 depends on HAVE_DYNAMIC_FTRACE
525- default y
528+ default n
526529 help
527530 This option will modify all the calls to function tracing
528531 dynamically (will patch them out of the binary image and
Original file line number Diff line number Diff line change 11
22# Do not instrument the tracer itself:
33
4- ifdef CONFIG_FUNCTION_TRACER
5- ORIG_CFLAGS := $(KBUILD_CFLAGS )
6- KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE ) ,,$(ORIG_CFLAGS ) )
4+ # ifdef CONFIG_FUNCTION_TRACER
5+ # ORIG_CFLAGS := $(KBUILD_CFLAGS)
6+ # KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS))
77
8- ifdef CONFIG_FTRACE_SELFTEST
8+ # ifdef CONFIG_FTRACE_SELFTEST
99# selftest needs instrumentation
10- CFLAGS_trace_selftest_dynamic.o = $(CC_FLAGS_FTRACE )
11- obj-y += trace_selftest_dynamic.o
12- endif
13- endif
10+ # CFLAGS_trace_selftest_dynamic.o = $(CC_FLAGS_FTRACE)
11+ # obj-y += trace_selftest_dynamic.o
12+ # endif
13+ # endif
1414
1515# If unlikely tracing is enabled, do not trace these files
1616ifdef CONFIG_TRACING_BRANCHES
You can’t perform that action at this time.
0 commit comments