]> git.ipfire.org Git - thirdparty/systemd.git/commit
tree-wide: convert bootchart and lldp code to use clock_boottime_or_monotonic() 844/head
authorLennart Poettering <lennart@poettering.net>
Mon, 3 Aug 2015 14:43:29 +0000 (16:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 3 Aug 2015 15:40:46 +0000 (17:40 +0200)
commit27ec691bfd4088b678aa18d0bad90be47d0357f4
tree97217597b2c79361ca891d3a23bd880bcf2aa972
parent5ef9b2203e027da168b18d92045462422895565b
tree-wide: convert bootchart and lldp code to use clock_boottime_or_monotonic()

We should avoid using CLOCK_BOOTTIME directly unless we actually can
sensible distuingish it from CLOCK_MONOTONIC. CLOCK_BOOTTIME is only
fully feature on very recent Linux kernels, hence we should stick to a
fallback logic, which is already available in the
clock_boottime_or_monotonic() call.
src/bootchart/bootchart.c
src/libsystemd-network/sd-lldp.c
src/network/networkctl.c