]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: add ExecMainHandoverTimestamp property recording time-of-execve
authorLuca Boccassi <bluca@debian.org>
Fri, 19 Apr 2024 23:50:16 +0000 (00:50 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 22 Apr 2024 13:16:05 +0000 (15:16 +0200)
commit93cb78aee2cff8109a5a70128287732f03d7a062
tree274c3dd2f994e4805b064f9442f0e62500741f6a
parent489ae6b3d510e6ecf741e089210fca6b8c4d8cde
core: add ExecMainHandoverTimestamp property recording time-of-execve

Enable the exec_fd logic for Type=notify* services too, and change it
to send a timestamp instead of a '1' byte. Record the timestamp in a
new ExecMainHandoverTimestamp property so that users can track accurately
when control is handed over from systemd to the service payload, so
that latency and startup performance can be trivially and accurately
tracked and attributed.
man/org.freedesktop.systemd1.xml
src/core/dbus-execute.h
src/core/exec-invoke.c
src/core/execute.c
src/core/execute.h
src/core/service.c
test/units/testsuite-07.exec-timestamps.sh [new file with mode: 0755]