summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2013-04-15 16:23:42 -0700
committerAuke Kok <auke-jan.h.kok@intel.com>2013-04-15 16:28:41 -0700
commitc4d58b0b6d238b955ece39a9dd9d3ca84b3408f3 (patch)
tree6cdaa29de380c94bb38c3778a5b3c49a26da1f17 /Makefile.am
parent8ad802ec3539142e2b1bf06ae8257b302630c184 (diff)
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
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