]> Pileus Git - ~andy/linux/commit
tracing: Add skip argument to trace_dump_stack()
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 13 Mar 2013 13:55:57 +0000 (09:55 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:36:05 +0000 (00:36 -0400)
commitc142be8ebe0b7bf73c8a0063925623f3e4b980c0
treeb4f05278ba776036475efe7bba7273568fd6c1bf
parent3cd715de261182413b3487abfffe1b6af41b81b3
tracing: Add skip argument to trace_dump_stack()

Altough the trace_dump_stack() already skips three functions in
the call to stack trace, which gets the stack trace to start
at the caller of the function, the caller may want to skip some
more too (as it may have helper functions).

Add a skip argument to the trace_dump_stack() that lets the caller
skip back tracing functions that it doesn't care about.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/kernel.h
kernel/trace/trace.c