summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-15 22:42:27 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-17 00:09:16 -0400
commite7ecdfc15cee7a90da23d89c228ada5560ebb3a4 (patch)
treed98d136e82aedd0a30751420b7cf822533f6f569
parent543295ad369793bdac510c6c3bf4afae8f1cdab5 (diff)
sd-messages.h: add new bootchart message id
-rw-r--r--man/systemd-bootchart.xml6
-rw-r--r--src/python-systemd/docs/id128.rst1
-rw-r--r--src/systemd/sd-messages.h2
3 files changed, 8 insertions, 1 deletions
diff --git a/man/systemd-bootchart.xml b/man/systemd-bootchart.xml
index f3c967006a..1569d2c8a2 100644
--- a/man/systemd-bootchart.xml
+++ b/man/systemd-bootchart.xml
@@ -92,7 +92,11 @@
</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>
diff --git a/src/python-systemd/docs/id128.rst b/src/python-systemd/docs/id128.rst
index e43776a844..89c37f3470 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 a377d0229d..c8de331691 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