From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752140AbdHYEwj (ORCPT ); Fri, 25 Aug 2017 00:52:39 -0400 Received: from mail-pg0-f46.google.com ([74.125.83.46]:35927 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751683AbdHYEwi (ORCPT ); Fri, 25 Aug 2017 00:52:38 -0400 Date: Fri, 25 Aug 2017 13:52:54 +0900 From: Sergey Senozhatsky To: Prarit Bhargava Cc: linux-kernel@vger.kernel.org, Mark Salyzyn , Jonathan Corbet , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , John Stultz , Thomas Gleixner , Stephen Boyd , Andrew Morton , Greg Kroah-Hartman , "Paul E. McKenney" , Christoffer Dall , Deepa Dinamani , Ingo Molnar , Joel Fernandes , Kees Cook , Peter Zijlstra , Geert Uytterhoeven , "Luis R. Rodriguez" , Nicholas Piggin , "Jason A. Donenfeld" , Olof Johansson , Josh Poimboeuf , linux-doc@vger.kernel.org Subject: Re: [PATCH 2/2 v8] printk: Add monotonic, boottime, and realtime timestamps Message-ID: <20170825045254.GA5876@jagdpanzerIV.localdomain> References: <1503582122-22841-1-git-send-email-prarit@redhat.com> <1503582122-22841-3-git-send-email-prarit@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1503582122-22841-3-git-send-email-prarit@redhat.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (08/24/17 09:42), Prarit Bhargava wrote: [..] > +config PRINTK_TIME_DEBUG > + bool "Allow runtime reselection of any timebase on printks" > + depends on PRINTK > + default N > + help > + Selecting this option causes time stamps of the printk() > + messages to be changed freely at runtime on the output of > + the syslog() system call and at the console. Without this > + option, one can only enable or disable the configuration > + selected timebase. > + > + Runtime adjustment can be set via > + /sys/module/printk/paramters/time as follows with a string: s/paramters/parameters/ > + 0/N/n/disable, 1/Y/y/local, b/boot, m/monotonic, r/realtime. > + eg: echo local >/sys/module/printk/parameters/time > + echo realtime >/sys/module/printk/parameters/time -ss