diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2006-06-25 08:48:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:13 -0400 |
commit | 3b9c04106b70e46803c69d13d5da32f6129fa76d (patch) | |
tree | b0405d1823ea30cdc07cd5ab5361d39b262e531e /kernel/audit.h | |
parent | e5dcd90b53d601a04482db9800336a0ccf190880 (diff) |
[PATCH] printk time parameter
Currently, enabling/disabling printk timestamps is only possible through
reboot (bootparam) or recompile. I normally do not run with timestamps
(since syslog handles that in a good manner), but for measuring small
kernel delays (e.g. irq probing - see parport thread) I needed subsecond
precision, but then again, just for some minutes rather than all kernel
messages to come. The following patch adds a module_param() with which the
timestamps can be en-/disabled in a live system through
/sys/modules/printk/parameters/printk_time.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions