Skip to content

Commit

Permalink
tracing: Export trace_dump_stack to modules
Browse files Browse the repository at this point in the history
There is no reason for this function to be unexprted and it's a useful
debugging aid.

Link: http://lkml.kernel.org/r/1539759103-5923-1-git-send-email-nborisov@suse.com

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
  • Loading branch information
Nikolay Borisov authored and Steven Rostedt (VMware) committed Oct 27, 2018
1 parent bf173ca commit da387e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -2727,6 +2727,7 @@ void trace_dump_stack(int skip)
__ftrace_trace_stack(global_trace.trace_buffer.buffer,
flags, skip, preempt_count(), NULL);
}
EXPORT_SYMBOL_GPL(trace_dump_stack);

static DEFINE_PER_CPU(int, user_stack_count);

Expand Down

0 comments on commit da387e5

Please sign in to comment.