]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tracing: Use stack of calling function for stack tracer
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 14 Mar 2013 00:43:57 +0000 (20:43 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 May 2013 03:33:08 +0000 (20:33 -0700)
commit2fbd7c15d610fcbeee37feb14dcf76104c2b33e8
tree57e8ca1d3734cdad38945ce1d72ee9227779dd8e
parentd9d89e45ff101119f7e8faea26f3de08c5999159
tracing: Use stack of calling function for stack tracer

commit 87889501d0adfae10e3b0f0e6f2d7536eed9ae84 upstream.

Use the stack of stack_trace_call() instead of check_stack() as
the test pointer for max stack size. It makes it a bit cleaner
and a little more accurate.

Adding stable, as a later fix depends on this patch.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/trace/trace_stack.c