Re: [PATCH] printk: inject caller information into the body of message

From: Steven Rostedt
Date: Mon Oct 01 2018 - 14:06:11 EST


On Sat, 29 Sep 2018 20:13:17 +0900
Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> wrote:

> On (09/28/18 20:21), Tetsuo Handa wrote:
> > On 2018/09/28 17:56, Sergey Senozhatsky wrote:
> > > The good thing about cont buffer is that we flush it on panic. E.g.
> > > core/arch early boot stage can do:
> > >
> > > pr_cont("going to call early_init_foo()...");
> > > early_init_foo();
> > > pr_cont("OK\n");
> > >
> >
> > Is printing
> >
> > going to call early_init_foo()...OK
> >
> > in one line so critically important?
>

Yes. My testing infrastructure tests for this on boot up for the ftrace
self tests.

-- Steve