]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: drop mapping from CLOCK_BOOTTIME -> CLOCK_MONOTONIC
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 19 Jun 2024 15:07:36 +0000 (00:07 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 19 Jun 2024 15:10:12 +0000 (00:10 +0900)
commit461e4656e7240eb515334dfb919da7f2d018cbb2
tree56d806644133804006881f1f57de135174a71f9f
parentc7dd491d66c36b3a3b6966e0f35e513ad68974ec
journal: drop mapping from CLOCK_BOOTTIME -> CLOCK_MONOTONIC

This partially reverts commit a9357c2ce2d188b5b63592fd271f14d335867c23.

Some kmsg sent before sleep may be received by systemd-journald after
sleep. In that case, map_clock_usec() does not provide correct
timestamp.
So, we cannot provide reliable _SOURCE_MONOTONIC_TIMESTAMP.
src/journal/journald-kmsg.c