summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-10-17 09:51:43 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-10-27 11:15:03 -0400
commitda387e5c930f43d9f3b011a6fbb33bdf43d9714c (patch)
tree57f762af7fff795d15a27c169a048c48a5df0f2d /kernel
parentbf173ca92da97863e1579a982d500da98f2e7a3f (diff)
downloadlinux-da387e5c930f43d9f3b011a6fbb33bdf43d9714c.tar.bz2
tracing: Export trace_dump_stack to modules
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index ec5b21778806..ff1c4b20cd0a 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -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);