Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c38e1fe authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds
Browse files

lib: turn CONFIG_STACKTRACE into an actual option.



I was puzzled why /proc/$$/stack had disappeared, until I figured out I
had disabled the last debug option that did a 'select STACKTRACE'.  This
patch makes the option show up at config time, so it can be enabled
without enabling any of the more heavyweight debug options.

Signed-off-by: default avatarDave Jones <davej@redhat.com>
Acked-by: default avatarIngo Molnar <mingo@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ce8369bc
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -1036,8 +1036,13 @@ config TRACE_IRQFLAGS
	  either tracing or lock debugging.
	  either tracing or lock debugging.


config STACKTRACE
config STACKTRACE
	bool
	bool "Stack backtrace support"
	depends on STACKTRACE_SUPPORT
	depends on STACKTRACE_SUPPORT
	help
	  This option causes the kernel to create a /proc/pid/stack for
	  every process, showing its current stack trace.
	  It is also used by various kernel debugging features that require
	  stack trace generation.


config DEBUG_KOBJECT
config DEBUG_KOBJECT
	bool "kobject debugging"
	bool "kobject debugging"