summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-10-17 08:51:43 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-10-27 17:15:03 +0200
commitda387e5c930f43d9f3b011a6fbb33bdf43d9714c (patch)
tree57f762af7fff795d15a27c169a048c48a5df0f2d /kernel/trace/trace.c
parenttracing: probeevent: Fix uninitialized used of offset in parse args (diff)
downloadlinux-da387e5c930f43d9f3b011a6fbb33bdf43d9714c.tar.xz
linux-da387e5c930f43d9f3b011a6fbb33bdf43d9714c.zip
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 '')
-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);