* [PATCH] tracing: Export trace_dump_stack to modules
@ 2018-10-17 6:51 Nikolay Borisov
2018-10-17 20:19 ` Steven Rostedt
0 siblings, 1 reply; 2+ messages in thread
From: Nikolay Borisov @ 2018-10-17 6:51 UTC (permalink / raw)
To: rostedt; +Cc: mingo, linux-kernel, Nikolay Borisov
There is no reason for this function to be unexprted and it's a useful
debugging aid.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
---
kernel/trace/trace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index bf6f1d70484d..15c7a7d01505 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);
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tracing: Export trace_dump_stack to modules
2018-10-17 6:51 [PATCH] tracing: Export trace_dump_stack to modules Nikolay Borisov
@ 2018-10-17 20:19 ` Steven Rostedt
0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2018-10-17 20:19 UTC (permalink / raw)
To: Nikolay Borisov; +Cc: mingo, linux-kernel
On Wed, 17 Oct 2018 09:51:43 +0300
Nikolay Borisov <nborisov@suse.com> wrote:
> There is no reason for this function to be unexprted and it's a useful
> debugging aid.
>
> Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Thanks, I added this to my queue for the merge window.
-- Steve
> ---
> kernel/trace/trace.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
> index bf6f1d70484d..15c7a7d01505 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);
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-17 20:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17 6:51 [PATCH] tracing: Export trace_dump_stack to modules Nikolay Borisov
2018-10-17 20:19 ` Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).