]> git.kernelconcepts.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:08:19 +0000 (20:08 -0700)
commit4a13a00a69fe14edc29fc8eaf11e4ffb5d1b1200
treebd9c79c4bf805d53dcd1f5a2ba4c858d2c025b0d
parent0e16fac6740ff559a9fb61d26c8f89e263dbe126
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