From: Zbigniew Jędrzejewski-Szmek Date: Tue, 16 Apr 2013 02:42:27 +0000 (-0400) Subject: sd-messages.h: add new bootchart message id X-Git-Tag: v202~59 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=e7ecdfc15cee7a90da23d89c228ada5560ebb3a4 sd-messages.h: add new bootchart message id --- diff --git a/man/systemd-bootchart.xml b/man/systemd-bootchart.xml index f3c967006..1569d2c8a 100644 --- a/man/systemd-bootchart.xml +++ b/man/systemd-bootchart.xml @@ -92,7 +92,11 @@ Bootchart graphs are by default written - time-stamped in /run/log. + time-stamped in /run/log + and saved to the journal with + MESSAGE_ID=9f26aa562cf440c2b16c773d0479b518. + Journal field BOOTCHART= contains + the bootchart in SVG format. diff --git a/src/python-systemd/docs/id128.rst b/src/python-systemd/docs/id128.rst index e43776a84..89c37f347 100644 --- a/src/python-systemd/docs/id128.rst +++ b/src/python-systemd/docs/id128.rst @@ -37,3 +37,4 @@ .. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STOPPED .. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STOPPING .. autoattribute:: systemd.id128.SD_MESSAGE_CONFIG_ERROR + .. autoattribute:: systemd.id128.SD_MESSAGE_BOOTCHART diff --git a/src/systemd/sd-messages.h b/src/systemd/sd-messages.h index a377d0229..c8de33169 100644 --- a/src/systemd/sd-messages.h +++ b/src/systemd/sd-messages.h @@ -75,6 +75,8 @@ extern "C" { #define SD_MESSAGE_CONFIG_ERROR SD_ID128_MAKE(c7,72,d2,4e,9a,88,4c,be,b9,ea,12,62,5c,30,6c,01) +#define SD_MESSAGE_BOOTCHART SD_ID128_MAKE(9f,26,aa,56,2c,f4,40,c2,b1,6c,77,3d,04,79,b5,18) + #ifdef __cplusplus } #endif