summaryrefslogtreecommitdiff
path: root/meta-unit-profiling/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta-unit-profiling/recipes-devtools')
-rw-r--r--meta-unit-profiling/recipes-devtools/systemd-bootchart-conf/files/unit.conf4
-rw-r--r--meta-unit-profiling/recipes-devtools/systemd-bootchart-conf/systemd-bootchart-conf.bb13
2 files changed, 17 insertions, 0 deletions
diff --git a/meta-unit-profiling/recipes-devtools/systemd-bootchart-conf/files/unit.conf b/meta-unit-profiling/recipes-devtools/systemd-bootchart-conf/files/unit.conf
new file mode 100644
index 0000000..62fb8c1
--- /dev/null
+++ b/meta-unit-profiling/recipes-devtools/systemd-bootchart-conf/files/unit.conf
@@ -0,0 +1,4 @@
+[Bootchart]
+PlotMemoryUsage=yes
+PlotEntropyGraph=yes
+Cmdline=yes
diff --git a/meta-unit-profiling/recipes-devtools/systemd-bootchart-conf/systemd-bootchart-conf.bb b/meta-unit-profiling/recipes-devtools/systemd-bootchart-conf/systemd-bootchart-conf.bb
new file mode 100644
index 0000000..31a1f5d
--- /dev/null
+++ b/meta-unit-profiling/recipes-devtools/systemd-bootchart-conf/systemd-bootchart-conf.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Systemd bootchart config drop-in"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${UNIT_PROFILING_LAYERDIR}/LICENSE;md5=a77c12e0c0e8a14cebb1494195720ccc"
+
+SRC_URI = "file://unit.conf"
+
+S = "${UNPACKDIR}"
+
+do_install() {
+ install -D -p -m0644 ${UNPACKDIR}/unit.conf ${D}${sysconfdir}/systemd/bootchart.conf.d/unit.conf
+}
+
+FILES:${PN} = "${sysconfdir}/systemd/bootchart.conf.d/unit.conf"