From e7ecdfc15cee7a90da23d89c228ada5560ebb3a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 15 Apr 2013 22:42:27 -0400 Subject: [PATCH] sd-messages.h: add new bootchart message id --- man/systemd-bootchart.xml | 6 +++++- src/python-systemd/docs/id128.rst | 1 + src/systemd/sd-messages.h | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.30.2