]> asedeno.scripts.mit.edu Git - linux.git/commit
tracing: Document the stack trace algorithm in the comments
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 7 Aug 2019 16:27:30 +0000 (12:27 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 31 Aug 2019 16:19:40 +0000 (12:19 -0400)
commit58fe7a87db51ea00596187765dabfc2c4ea2b436
tree63ef030e6f87d3519283db4f97db94cadab237ea
parentf7edb451fa51e44e62177347ea7850aa0e901ea5
tracing: Document the stack trace algorithm in the comments

As the max stack tracer algorithm is not that easy to understand from the
code, add comments that explain the algorithm and mentions how
ARCH_FTRACE_SHIFT_STACK_TRACER affects it.

Link: http://lkml.kernel.org/r/20190806123455.487ac02b@gandalf.local.home
Suggested-by: Joel Fernandes <joel@joelfernandes.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_stack.c