]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/unit.h
unit: Add LOG_CONTEXT_PUSH_UNIT() 26916/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 21 Mar 2023 13:57:29 +0000 (14:57 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 21 Mar 2023 13:59:16 +0000 (14:59 +0100)
commit4b2af439eb3f56ae309f26e7ce08a8eb573ca417
tree7982b38356145acee792752f7ce114846a8c33e4
parent81b3565efdb08df93596cc7a79ece57b528a69f3
unit: Add LOG_CONTEXT_PUSH_UNIT()

A helper macro to push all unit related fields onto the log context.
We also modify exec_spawn() to use it.
src/core/execute.c
src/core/unit.h