]> git.baikalelectronics.ru Git - kernel.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)
commite7f2d955bdaa27501ac5784aae4e889b5ce9185e
tree63ef030e6f87d3519283db4f97db94cadab237ea
parenta4bd770b26609953582be93846cb6ca284d01540
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