projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf173ca
)
tracing: Export trace_dump_stack to modules
author
Nikolay Borisov
<nborisov@suse.com>
Wed, 17 Oct 2018 06:51:43 +0000
(09:51 +0300)
committer
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Sat, 27 Oct 2018 15:15:03 +0000
(11:15 -0400)
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>
kernel/trace/trace.c
patch
|
blob
|
history
diff --git
a/kernel/trace/trace.c
b/kernel/trace/trace.c
index ec5b21778806c91ae7da665e2910d777b04cf240..ff1c4b20cd0a6d29209950fa006542c71b8c43ef 100644
(file)
--- 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);