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

From: Dave Young
Date: Fri Feb 09 2018 - 03:27:55 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?

!CONFIG_PRINTK will use the dummy functions in printk.h, I did not test
the build, doing it now to double confirm..

Thanks
Dave

>
> -ss