Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4826292imj; Wed, 13 Feb 2019 01:36:13 -0800 (PST) X-Google-Smtp-Source: AHgI3Iawcm51Yh/+ragHdUkXUAhDuf7BtMdLSsfjx5DoA4QoHFM+QmuQidlfRNnhEo7kBCl53HZ7 X-Received: by 2002:a65:514c:: with SMTP id g12mr7956732pgq.169.1550050573458; Wed, 13 Feb 2019 01:36:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550050573; cv=none; d=google.com; s=arc-20160816; b=QgecE3kWHZMYqDzNSiwJY7yA+2TqIJVOMMfrdVJ5AyercKed+EbVMYZELpJQwgltK5 hPdj5hE2r8/qgWGEIWevmyPjOq6VaMeg2D/nGYhYA9G/bz7BwNm82upSyNehSlYsZxnu llRQitCT7zDApaR/r9cSyrqx5utQUuXzvjkhTX2CDWk0ELNvHsuqjvXFdDNpes7TJcGM ZAUMpoiT+SUH/qkstp7vJOy2wu4ojn7kgFwnFmfULSFAk6mbzBKPbMNKT/v3ejpFQW7Z vY96hY4DKzYwX5+oCqGkv1ttiC1Yrh56fMkIVDvIWIwSgCU1tBpIGwqZgq6qDNbHgu47 RoBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9td7SaZowoxwpxDBzINQYd3AMI0Umbla/WBrP6WTjrE=; b=r+5YqTdlXN8W5dtX4ktRlbGMLcdrUMSTG+3E50Cvl9ITflFONhR624/kbT/9BwAbsz CIcKhewVZN5cIX8cwuxALTLZQSazzqMcR73Y1AagCOggeZL2id5VwyB8H/5a7DvIxidh FyNsexUcSEdVXSCZ7breplhCDYfCk79r8HYx2rPbfjAZkgKDEnPvHvvdFMYT2u/vz8r+ 0x2RyHeLEixk/qklvBL2Gpd3nuidBbhtRpsG6RdYVZOugLEljrPYOQmYPJit5+q/l23M xOiZHUBYR7kmSCP/Z4MqCCtt8P+fS7VO2og0zYuNz99mQ08OL1pSnRZmocwHzgRtL7BQ j2mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hl26d5gx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f23si13994306plr.151.2019.02.13.01.35.57; Wed, 13 Feb 2019 01:36:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hl26d5gx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732751AbfBMGZl (ORCPT + 99 others); Wed, 13 Feb 2019 01:25:41 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:35931 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbfBMGZk (ORCPT ); Wed, 13 Feb 2019 01:25:40 -0500 Received: by mail-qk1-f194.google.com with SMTP id o125so726758qkf.3 for ; Tue, 12 Feb 2019 22:25:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9td7SaZowoxwpxDBzINQYd3AMI0Umbla/WBrP6WTjrE=; b=Hl26d5gxMg0jpbhaN2Ia64nmuwMGxMNgN1s81jWmq1pgpl0ydsixKVCGBdZ5OINGlG s/Npj1NExXDo3iPWeiQ1Tijid73noBfsL2/F8p2XXABK2FpPcgriCV9NbGwmlow7UZ97 nKuvS/DolnYHnP7bMeayVLu5US9zQILiyOHlJ0I5wdfJLDJBBInAYNbxyrLFybQHn3YQ MNuwooUcZ95wT3E6wFeIezQWEbO5EqIu0d5gtcY+uuLw0BRhsfJINrHTKlAgKOEslCff uabBH4QMsTJGDtX8RzPIMK/bPjOMl3e3NUjnu1Jv9cnSHYDnRsWqy0tXC2r4CV6OjVlm zNbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9td7SaZowoxwpxDBzINQYd3AMI0Umbla/WBrP6WTjrE=; b=Ap8MdRh+fzS57/9dZ+Vk2oD5TrYZusiy5Xy2cSVJ6OAAmluGvsVXMHagxE9EFOxwNE Q9OROcHey69UEGrvMqEC4rN0Mv4pnt3FftP18WENdFCWzfrh0Th+m7bgkQRaRTQEoPBb D2OnUoA5YDu5w//9VrXxN2KfGaeeciiwVIbaRPjyNowGSB0E6JWevjbJb8VN8SUmZjZU hlZRxo606KgZJ/ZT6fjAa9fKGCoUmGoK3K3QkmUKX3gm0U2ab3FxkHuvNAxeegJ5RRKW 4a+aB0dJLAAT3SgoJ2hJx+br6bIUYJDtdDqwxor6d8IGGPR+D0EoF9G2sP8YwyNBvm8A LYrA== X-Gm-Message-State: AHQUAuaTwBrtWnFiEsxLELUIYJcwlQ/XqoH3utoqGv8wUct3cdNlEW0P 7bu1vLZbkPELj+aS7p5IPU1rjheu7NF3ejpsZLo= X-Received: by 2002:a37:c554:: with SMTP id p81mr5349380qki.337.1550039139893; Tue, 12 Feb 2019 22:25:39 -0800 (PST) MIME-Version: 1.0 References: <1549995065-27597-1-git-send-email-xiaoxiang@xiaomi.com> <20190213004804.GA2992@jagdpanzerIV> In-Reply-To: <20190213004804.GA2992@jagdpanzerIV> From: xiang xiao Date: Wed, 13 Feb 2019 14:25:20 +0800 Message-ID: Subject: Re: [PATCH] printk: add KERN_NOTIME to skip the timestamp To: Sergey Senozhatsky Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , linux-kernel@vger.kernel.org, Xiang Xiao Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 13, 2019 at 8:48 AM Sergey Senozhatsky 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