lkml.org 
[lkml]   [2017]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2 v8] printk: Add monotonic, boottime, and realtime timestamps
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

\
 
 \ /
  Last update: 2017-08-25 06:53    [W:1.261 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site