Re: [PATCH] printk: move dump stack related code to lib/dump_stack.c

From: Dave Young
Date: Fri Feb 09 2018 - 03:35:57 EST


On 02/09/18 at 05:16pm, Sergey Senozhatsky wrote:
> Hi,
>
> On (02/09/18 16:06), Dave Young wrote:
> [..]
> > +void __init dump_stack_set_arch_desc(const char *fmt, ...)
> ..
> > +void dump_stack_print_info(const char *log_lvl)
> ..
> > +void show_regs_print_info(const char *log_lvl)
> ..
>
> Seems that those functions are still defined in printk header.
> Did you test !CONFIG_PRINTK build?

Hmm, indeed need update printk.h for !PRINTK, thanks for catching it.
Will refresh the patch soon..

Thanks!

>
> -ss