Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4843007imj; Wed, 13 Feb 2019 01:59:07 -0800 (PST) X-Google-Smtp-Source: AHgI3IavhD2vVqVoMIXTjfOKCEt0BveIWphQsNJfC4PytLEoGH9iQmcB7Lj5WWmi89/kTUe/a9KT X-Received: by 2002:a17:902:6502:: with SMTP id b2mr8816131plk.44.1550051946965; Wed, 13 Feb 2019 01:59:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550051946; cv=none; d=google.com; s=arc-20160816; b=gtRQQg5nJo6T1fD17b2/mDn+frYC1Fy2HkdJ/CcDG4L2krroCBOCimjvvRMfs7nV6g TR4V7hL6oz6WrXUPZeL/9sjWxtrvW6Wbm3lAuelLFD2kqwbagx217xwED0N3LwxINhcm l8lxY3zXwWMXoaOFFgQ089Xvf+joFC3ekZO0LWP5PlbwkW4wZi5GtCkqN7Mf2uKRRzfO FIJGkTjDGX1UYeFXQragQxG+ZeMYcOH2Hqg1nkbKWNwmusvEA4Qn0gjBLqN6KYatmfse VEo3vxHvksM6rpgZeRL6saBMSaJk7vsFb9ndRbESPCsd4jcz5SZRjg6AT1S0BmGzxwaO FVGQ== 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=VZw8NWCkrIdQULVXmOWdgHLRCXLYmoCG/Pslju8tszA=; b=cNehVHn4NJyAeYsh6nnQd6NXVjTjV97uG8NHEvZCLB+22+6flA+/zKVJbvN0L9NSo6 hcJXjF9S/1g+G4LAn9mYn/FiXdXHirqgWiTUWSLmRNOhp8rpJo4q2JxPpyfVX00OWckX SpevVLWcGnYd2wptsTtS6wKndU3xOluwfbKj9xFMXjSjgNfi/2UZlVYwQwEZB3mA8NnQ wd25J+4SNz4SdliJvBaA5BBQon7M+0uFXdcTcTvuq4Cl+5yfMuRSmLiafcq8xLnnHVCn XBtK10q5So0HT3XzTcAyOLaMUhGFYX9nWZEOESC4Od9BUoQx6qKY/+tWav4ZDVIhq6iB OECw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eN6piFtw; 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 u12si3229724pgh.450.2019.02.13.01.58.47; Wed, 13 Feb 2019 01:59:06 -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=eN6piFtw; 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 S2387948AbfBMHOp (ORCPT + 99 others); Wed, 13 Feb 2019 02:14:45 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:43537 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729686AbfBMHOp (ORCPT ); Wed, 13 Feb 2019 02:14:45 -0500 Received: by mail-qt1-f194.google.com with SMTP id y4so1441804qtc.10 for ; Tue, 12 Feb 2019 23:14:44 -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=VZw8NWCkrIdQULVXmOWdgHLRCXLYmoCG/Pslju8tszA=; b=eN6piFtw2Q6HnufPjY72J8LCMiPfheSOO0vX1QyrHrebasssXsq+WRAElarFnJVkZb xNSt4BQvJMbsLx5fw076i7NhEStvT/9S0s5c3AQ814E0Yg4ckq51ppvr7duVEUGvoVJs /xQd3v+tQEHhZSFdEsjcA3XdlYcEbQr2adTJOZEQrrnozJAX+h6UCvo3mlOXukISP8tF VifwUqbC1muhDAy80KWU6yQwoDq3HPM9dcakDdSjBxazcqpekslEO3EwCEH0KegraMIk bVSnmSj/SbMMOa8R3oQ1aiQH01Qjo+w6g7FbZgFRdiLoZUJnhoWQH1whu2MyIqeA22t+ wl+Q== 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=VZw8NWCkrIdQULVXmOWdgHLRCXLYmoCG/Pslju8tszA=; b=Dwf8329Q6Vi3+FHPV5nPRvzDnbiTAexmrkEbwQXFhl2HOO5CNgMWHL4PGpmbs4snCd +bJb9qUnn7NkI6dnmSUAEhSve6w+EDJLgHxaQs0jzyZv1yfti39weZyLIhLcFvCk5UkK eQBi6l2hKeTl5v63e7FPKbW770Tuo0DVqvj8dFh+JFkBPPNEFyClYPjUwVraMBdToTot Cxngvz583m4e5xZGlYiQtXLd/u5DYMDbQrnBQjrcRumwpgP9wG8cEBF3mHlwEWcyEQuo FwBhjj6gSdEUSJ1pslZsrGUOg5aGo31t4i7tzs3tOtZcoyUoC+WjpogKeZAjFueC8u9h hxqg== X-Gm-Message-State: AHQUAuaO7IE12qO/QgDFtPHIop4VBmhIRvaiXhF0MuIGC9C4nYhqSfzn 3seqOAu92ZYSi2TjZaWNj9yIFgStY7vF2vJULWQ= X-Received: by 2002:ac8:23aa:: with SMTP id q39mr5780306qtq.82.1550042084559; Tue, 12 Feb 2019 23:14:44 -0800 (PST) MIME-Version: 1.0 References: <1549995065-27597-1-git-send-email-xiaoxiang@xiaomi.com> <20190212144606.4b7cf0f8@gandalf.local.home> <20190213062912.GA23233@jagdpanzerIV> <20190213063815.GA32272@jagdpanzerIV> In-Reply-To: <20190213063815.GA32272@jagdpanzerIV> From: xiang xiao Date: Wed, 13 Feb 2019 15:14:25 +0800 Message-ID: Subject: Re: [PATCH] printk: add KERN_NOTIME to skip the timestamp To: Sergey Senozhatsky Cc: Steven Rostedt , Petr Mladek , Sergey Senozhatsky , 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 But how can I precisely control timestamp on/off per message through sysfs node? On Wed, Feb 13, 2019 at 2:38 PM Sergey Senozhatsky wrote: > > On (02/13/19 15:29), Sergey Senozhatsky wrote: > > > > cat /sys/module/printk/parameters/time ? > ^^^^^ > cat / echo > > Works both ways. > > -ss