summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2023-06-01 11:46:42 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-06-08 03:46:24 +0300
commit577977ed6f644eeab4ea1aea39446ae689520a9d (patch)
tree36dd26cab5a848d82a14c0a371e5f92ca9014ac4
parente9284a5c79f324ddd9d58e2a70090f9d397e90f1 (diff)
downloadopenbmc-577977ed6f644eeab4ea1aea39446ae689520a9d.tar.xz
meta-phosphor: linux: Enable CONFIG_SCHEDSTATS for systemd-bootchart
systemd-bootchart requires CONFIG_SCHEDSTATS=y to operate. Enabling it adds 4344 bytes to the p10bmc zImage (used as a test platform in this instance), which is likely tolerable for a default configuration: ``` $ ls -l zImage.* -rw-r--r--. 1 andrew andrew 4179240 Jun 2 14:28 zImage.no-schedstats -rw-r--r--. 1 andrew andrew 4183584 Jun 2 14:19 zImage.schedstats ``` Change-Id: Ie86eaa60a414bb5d62f89584aa674c3b586e0516 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-rw-r--r--meta-phosphor/recipes-kernel/linux/linux-%.bbappend2
-rw-r--r--meta-phosphor/recipes-kernel/linux/systemd-bootchart.cfg1
2 files changed, 3 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-kernel/linux/linux-%.bbappend b/meta-phosphor/recipes-kernel/linux/linux-%.bbappend
new file mode 100644
index 0000000000..32876c413a
--- /dev/null
+++ b/meta-phosphor/recipes-kernel/linux/linux-%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}:"
+SRC_URI:append = " file://systemd-bootchart.cfg"
diff --git a/meta-phosphor/recipes-kernel/linux/systemd-bootchart.cfg b/meta-phosphor/recipes-kernel/linux/systemd-bootchart.cfg
new file mode 100644
index 0000000000..a9ef3bd78e
--- /dev/null
+++ b/meta-phosphor/recipes-kernel/linux/systemd-bootchart.cfg
@@ -0,0 +1 @@
+CONFIG_SCHEDSTATS=y