]> 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)
commit36b9dc969195e4bc2d2669fa648b0392c0b13df3
tree63ef030e6f87d3519283db4f97db94cadab237ea
parent1e2da46789444f6e09083e844a156d53f57c24c5
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