diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2023-06-01 11:46:42 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2023-06-08 03:46:24 +0300 |
commit | 577977ed6f644eeab4ea1aea39446ae689520a9d (patch) | |
tree | 36dd26cab5a848d82a14c0a371e5f92ca9014ac4 | |
parent | e9284a5c79f324ddd9d58e2a70090f9d397e90f1 (diff) | |
download | openbmc-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-%.bbappend | 2 | ||||
-rw-r--r-- | meta-phosphor/recipes-kernel/linux/systemd-bootchart.cfg | 1 |
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 |