]> Pileus Git - ~andy/linux/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)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:36:06 +0000 (00:36 -0400)
commit87889501d0adfae10e3b0f0e6f2d7536eed9ae84
treec103cc8bf1687f5ffe54ff7f17c7672bda20cad1
parentdd42cd3ea96d687f15525c4f14fa582702db223f
tracing: Use stack of calling function for stack tracer

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.

Cc: stable@vger.kernel.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_stack.c