Re: [PATCH] printk: add KERN_NOTIME to skip the timestamp

From: xiang xiao
Date: Wed Feb 13 2019 - 01:25:43 EST


On Wed, Feb 13, 2019 at 8:48 AM Sergey Senozhatsky
<sergey.senozhatsky.work@xxxxxxxxx> wrote:
>
> On (02/13/19 02:11), Xiang Xiao wrote:
> >
> > Because log may already add the timestamp sometime
> >
>
> We have module_param(printk_time) which enables/disables
> timestamps. And a .config option. And a kernel boot param.
> Why would you want KERN_NOTIME?
>

Because I need control whether append timestamp per message:
1.message come from kernel add the timestamp
2.message come from remote skip the timestamp
Like my previous reply case.

> -ss