]> 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 02:57:23 +0000 (19:57 -0700)
commitf42aa66c19796fd453f434be29a039707aec435f
tree106307eb63d30b0e2a5495214506cf19b7bb71a7
parent02f1fef6377f64ae0ea5b542a39eddf1424b505d
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