chiark / gitweb /
sd-messages.h: add new bootchart message id
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 16 Apr 2013 02:42:27 +0000 (22:42 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 Apr 2013 04:09:16 +0000 (00:09 -0400)
man/systemd-bootchart.xml
src/python-systemd/docs/id128.rst
src/systemd/sd-messages.h

index f3c967006a9202062c08a2e138f5f24ab8389e32..1569d2c8a2f769684840b5beeff797d0dbbbe298 100644 (file)
                 </para>
                 <para>
                         Bootchart graphs are by default written
-                        time-stamped in <filename>/run/log</filename>.
+                        time-stamped in <filename>/run/log</filename>
+                        and saved to the journal with
+                        <varname>MESSAGE_ID=9f26aa562cf440c2b16c773d0479b518</varname>.
+                        Journal field <varname>BOOTCHART=</varname> contains
+                        the bootchart in SVG format.
                 </para>
 
         </refsect1>
index e43776a84452f04f990b6db750127d54cfcea5e7..89c37f347052d5c5b0f6e38331df151d3e144075 100644 (file)
@@ -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
index a377d0229d715bce72fef83d3ac8cfb3795f1006..c8de331691fd47065d27ec0a0f37e58d1bb9511b 100644 (file)
@@ -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