From c4d58b0b6d238b955ece39a9dd9d3ca84b3408f3 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Mon, 15 Apr 2013 16:23:42 -0700 Subject: bootchart: put the bootchart into the journal. This bit of code is mostly stolen from coredump.c. We construct a simple journal message and append the bootchart file in the journal automatically. You can extract the latest bootchart from the current boot with something like: $ journalctl -b MESSAGE_ID=9f26aa562cf440c2b16c773d0479b518 --field=BOOTCHART which prints it to stdout. None of the other logic is touched. The journal entry is created even if bootchart was run manually, which is probably wrong. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5a632a9093..6f2b6ef96a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3080,7 +3080,8 @@ systemd_bootchart_SOURCES = \ src/bootchart/svg.h systemd_bootchart_LDADD = \ - libsystemd-shared.la + libsystemd-shared.la \ + libsystemd-journal.la rootlibexec_PROGRAMS += \ systemd-bootchart -- cgit v1.2.3-54-g00ecf