From 4982353c696256dfa130f5d009b4271fe34112ac Mon Sep 17 00:00:00 2001 From: unitexe Date: Sat, 17 Jan 2026 00:53:15 -0600 Subject: Introduce meta-unit-profiling - Additional profiling commands for busybox - Support systemd-bootchart - Enable kernel stats (needed for systemd-bootchart) --- meta-unit-core/conf/layer.conf | 2 ++ .../unit-profiling-layer/recipes-unit/images/core-image-unit.bbappend | 2 ++ meta-unit-core/recipes-core/packagegroups/packagegroup-unit-systemd.bb | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 meta-unit-core/dynamic-layers/unit-profiling-layer/recipes-unit/images/core-image-unit.bbappend (limited to 'meta-unit-core') diff --git a/meta-unit-core/conf/layer.conf b/meta-unit-core/conf/layer.conf index 688eda3..fd90f46 100644 --- a/meta-unit-core/conf/layer.conf +++ b/meta-unit-core/conf/layer.conf @@ -13,6 +13,8 @@ BBFILES_DYNAMIC += " \ virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bbappend \ raspberrypi-extra-layer:${LAYERDIR}/dynamic-layers/raspberrypi-extra-layer/recipes-*/*/*.bb \ raspberrypi-extra-layer:${LAYERDIR}/dynamic-layers/raspberrypi-extra-layer/recipes-*/*/*.bbappend \ + unit-profiling-layer:${LAYERDIR}/dynamic-layers/unit-profiling-layer/recipes-*/*/*.bb \ + unit-profiling-layer:${LAYERDIR}/dynamic-layers/unit-profiling-layer/recipes-*/*/*.bbappend \ " UNIT_CORE_LAYERDIR = "${LAYERDIR}" diff --git a/meta-unit-core/dynamic-layers/unit-profiling-layer/recipes-unit/images/core-image-unit.bbappend b/meta-unit-core/dynamic-layers/unit-profiling-layer/recipes-unit/images/core-image-unit.bbappend new file mode 100644 index 0000000..c29de71 --- /dev/null +++ b/meta-unit-core/dynamic-layers/unit-profiling-layer/recipes-unit/images/core-image-unit.bbappend @@ -0,0 +1,2 @@ +IMAGE_INSTALL:append = " packagegroup-unit-profiling" +IMAGE_INSTALL:append = " packagegroup-unit-systemd-profiling" diff --git a/meta-unit-core/recipes-core/packagegroups/packagegroup-unit-systemd.bb b/meta-unit-core/recipes-core/packagegroups/packagegroup-unit-systemd.bb index 0641d74..c65bb70 100644 --- a/meta-unit-core/recipes-core/packagegroups/packagegroup-unit-systemd.bb +++ b/meta-unit-core/recipes-core/packagegroups/packagegroup-unit-systemd.bb @@ -2,5 +2,4 @@ SUMMARY = "Unit systemd packages" inherit packagegroup -RDEPENDS:${PN}:append = " systemd-analyze" RDEPENDS:${PN}:append = " systemd-conf-journal-persistent-storage" -- cgit v1.2.3