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-profiling/conf/layer.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-unit-profiling/conf/layer.conf (limited to 'meta-unit-profiling/conf') diff --git a/meta-unit-profiling/conf/layer.conf b/meta-unit-profiling/conf/layer.conf new file mode 100644 index 0000000..1b980ef --- /dev/null +++ b/meta-unit-profiling/conf/layer.conf @@ -0,0 +1,18 @@ +BBPATH .= ":${LAYERDIR}" + +BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" + +BBFILE_COLLECTIONS += "unit-profiling-layer" +BBFILE_PATTERN_unit-profiling-layer := "^${LAYERDIR}/" +BBFILE_PRIORITY_unit-profiling-layer = "10" + +LAYERDEPENDS_unit-profiling-layer = "core openembedded-layer" + +LAYERSERIES_COMPAT_unit-profiling-layer = "whinlatter" + +UNIT_PROFILING_LAYERDIR = "${LAYERDIR}" + +BBFILES_DYNAMIC += " \ + raspberrypi:${LAYERDIR}/dynamic-layers/raspberrypi/*/*/*.bb \ + raspberrypi:${LAYERDIR}/dynamic-layers/raspberrypi/*/*/*.bbappend \ +" -- cgit v1.2.3