util-linux/lib
Konstantin Khlebnikov 9bf622dad9 dmesg: adjust timestamps according to suspended time
Timestamps in kernel log comes from monotonic clocksource which does not
tick when system suspended. Suspended time easily sums into hours and days
rendering human readable timestamps in dmesg useless.

Adjusting timestamps accouring to current delta between boottime and
monotonic clocksources produces accurate timestamps for messages printed
since last resume. Which are supposed to be most interesting.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
2020-06-04 10:57:36 +02:00
..
Makemodule.am tests: add sanitize_env() check 2020-04-13 12:14:08 +01:00
blkdev.c lib/blkdev: add support for --lock and LOCK_BLOCK_DEVICE 2020-05-26 17:30:39 +02:00
canonicalize.c lib/canonicalize: fix compiler warning [-Wsign-compare] 2019-06-10 11:00:38 +02:00
caputils.c unshare: add --keep-caps option 2019-09-09 20:23:08 -07:00
color-names.c lib/color-names: add "white" between human-readable 2020-03-10 09:45:33 +01:00
colors.c misc: fix typos [codespell] 2019-09-12 19:41:46 +01:00
cpuset.c taskset: fix cpuset list parser 2019-03-20 13:12:25 +01:00
crc32.c lib/crc32: prefix public functions 2016-10-19 12:11:59 +02:00
crc32c.c lib: Add simple crc32c() function 2017-11-16 11:44:39 +01:00
encode.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
env.c include/nls: remove unnecessary declaration 2020-04-22 10:27:12 +02:00
exec_shell.c exec_shell: prevent ".: applet not found" error when SHELL env is not set. 2018-06-25 10:34:31 +09:00
fileutils.c lib/fileutils: add close_all_fds() 2019-10-17 10:44:57 +02:00
idcache.c [clang-tidy] do not return in void functions 2020-04-19 14:03:21 -07:00
ismounted.c [clang-tidy] fix wrong *cmp usage 2020-04-20 13:21:00 -07:00
langinfo.c lib: add missing license headers 2019-11-08 10:40:42 +01:00
linux_version.c lib/linux_version: fix code indention 2017-01-04 15:42:02 +01:00
loopdev.c [clang-tidy] fix wrong *cmp usage 2020-04-20 13:21:00 -07:00
mangle.c include: add some missing licence stuff to header files 2020-01-13 10:39:52 +01:00
match.c lib/match: make match_fstype() case insensitive 2017-08-31 14:15:23 +02:00
mbsalign.c lib/mbsalign: add function to calculate width 2020-04-22 12:22:29 +02:00
mbsedit.c lib/mbsedit: check wctomb() return code [coverity scan] 2017-10-11 14:40:37 +02:00
md5.c lib/md5: use ul_/UL_ prefix 2017-12-12 12:06:15 +01:00
monotonic.c dmesg: adjust timestamps according to suspended time 2020-06-04 10:57:36 +02:00
pager.c lib/pager: fix compiler warning [-Wrestrict] 2018-07-18 09:41:46 +02:00
path.c lib/path: add ul_path_stat(), fix absolute paths 2019-10-15 11:59:16 +02:00
plymouth-ctrl.c lib: style cosmetics plymouth-ctrl.c 2017-06-15 09:13:04 +02:00
procutils.c lib: use unique ifdefs for tests 2017-01-04 11:44:37 +01:00
pty-session.c script: listen to SIGUSR1, flush logs on the signal 2019-12-09 16:04:18 +01:00
pwdutils.c lib/pwdutils: add xgetgrnam 2020-04-15 22:50:59 +10:00
randutils.c [clang-tidy] do not return in void functions 2020-04-19 14:03:21 -07:00
setproctitle.c setproctitle: fix out of boundary access 2017-09-26 12:04:41 +02:00
sha1.c lib/sha1: use proper WORDS_BIGENDIAN macro 2018-01-02 11:08:03 +01:00
signames.c lib/signames: remove unused function 2017-11-28 14:39:17 +01:00
strutils.c lib/strutils: fix parse_size() for large numbers 2020-05-18 13:34:55 +02:00
strv.c lib/strv: add strv_extendv() 2015-10-01 14:43:05 +02:00
swapprober.c [clang-tidy] fix wrong *cmp usage 2020-04-20 13:21:00 -07:00
sysfs.c lsblk: Ignore hidden devices 2020-05-14 15:48:26 +02:00
terminal-colors.d.5 Manual pages: order ENVIRONMENT / FILES / CONFORMING TO consistently 2020-05-22 10:25:52 +02:00
timer.c lib/timer: add fallback if timer_create() not available 2018-12-03 11:23:33 +01:00
timeutils.c [clang-tidy] fix misleading identation 2020-04-20 13:21:00 -07:00
ttyutils.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00