lkml.org 
[lkml]   [2018]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tracing: Export trace_dump_stack to modules
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);
>

\
 
 \ /
  Last update: 2018-10-17 22:20    [W:0.039 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site