summaryrefslogtreecommitdiff
path: root/meta-unit-profiling/recipes-core
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2026-01-17 00:53:15 -0600
committerunitexe <unitexe70@gmail.com>2026-01-17 15:07:54 -0600
commit4982353c696256dfa130f5d009b4271fe34112ac (patch)
tree91a4751ff286c9a59728289cea2512f64388c64c /meta-unit-profiling/recipes-core
parentdfb3c4808b38f7c5f79957f0b75bc497362c2cc6 (diff)
Introduce meta-unit-profiling
- Additional profiling commands for busybox - Support systemd-bootchart - Enable kernel stats (needed for systemd-bootchart)
Diffstat (limited to 'meta-unit-profiling/recipes-core')
-rw-r--r--meta-unit-profiling/recipes-core/busybox/busybox/iostat.cfg1
-rw-r--r--meta-unit-profiling/recipes-core/busybox/busybox/mpstat.cfg1
-rw-r--r--meta-unit-profiling/recipes-core/busybox/busybox_%.bbappend4
-rw-r--r--meta-unit-profiling/recipes-core/packagegroups/packagegroup-unit-profiling.bb11
-rw-r--r--meta-unit-profiling/recipes-core/packagegroups/packagegroup-unit-systemd-profiling.bb8
5 files changed, 25 insertions, 0 deletions
diff --git a/meta-unit-profiling/recipes-core/busybox/busybox/iostat.cfg b/meta-unit-profiling/recipes-core/busybox/busybox/iostat.cfg
new file mode 100644
index 0000000..3300ba8
--- /dev/null
+++ b/meta-unit-profiling/recipes-core/busybox/busybox/iostat.cfg
@@ -0,0 +1 @@
+CONFIG_IOSTAT=y
diff --git a/meta-unit-profiling/recipes-core/busybox/busybox/mpstat.cfg b/meta-unit-profiling/recipes-core/busybox/busybox/mpstat.cfg
new file mode 100644
index 0000000..9328d61
--- /dev/null
+++ b/meta-unit-profiling/recipes-core/busybox/busybox/mpstat.cfg
@@ -0,0 +1 @@
+CONFIG_MPSTAT=y
diff --git a/meta-unit-profiling/recipes-core/busybox/busybox_%.bbappend b/meta-unit-profiling/recipes-core/busybox/busybox_%.bbappend
new file mode 100644
index 0000000..fac7c9a
--- /dev/null
+++ b/meta-unit-profiling/recipes-core/busybox/busybox_%.bbappend
@@ -0,0 +1,4 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+SRC_URI:append = " file://mpstat.cfg"
+SRC_URI:append = " file://iostat.cfg"
diff --git a/meta-unit-profiling/recipes-core/packagegroups/packagegroup-unit-profiling.bb b/meta-unit-profiling/recipes-core/packagegroups/packagegroup-unit-profiling.bb
new file mode 100644
index 0000000..6682424
--- /dev/null
+++ b/meta-unit-profiling/recipes-core/packagegroups/packagegroup-unit-profiling.bb
@@ -0,0 +1,11 @@
+SUMMARY = "Profiling packages"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+# Performance analysis
+RDEPENDS:${PN}:append = " procps"
+RDEPENDS:${PN}:append = " sysstat"
+
+# Performance testing
+RDEPENDS:${PN}:append = " stress-ng"
diff --git a/meta-unit-profiling/recipes-core/packagegroups/packagegroup-unit-systemd-profiling.bb b/meta-unit-profiling/recipes-core/packagegroups/packagegroup-unit-systemd-profiling.bb
new file mode 100644
index 0000000..6726266
--- /dev/null
+++ b/meta-unit-profiling/recipes-core/packagegroups/packagegroup-unit-systemd-profiling.bb
@@ -0,0 +1,8 @@
+SUMMARY = "Systemd profiling packages"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+RDEPENDS:${PN}:append = " systemd-bootchart"
+RDEPENDS:${PN}:append = " systemd-bootchart-conf"
+RDEPENDS:${PN}:append = " systemd-analyze"