summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Kryger <tkryger@google.com>2021-02-11 15:13:26 -0800
committerBen Fennema <fennema@google.com>2021-03-03 00:07:30 +0000
commit2cebb4c733bff84b8139f876a9ce63d0357bb264 (patch)
treee308280e749e77ddda38c3861e441afbb7806dd5
parent84342c9c0a5173efa11b62d8e8b2c0ec7453c7fe (diff)
downloadconfig-2cebb4c733bff84b8139f876a9ce63d0357bb264.tar.gz
Enable CPUSETS to fix systrace
Android expects CPUSETS to be supported by the kernel and will attempt to mount its virtual filesystem at /dev/cpusets and then configure it. If the kernel doesn't support CPUSETS then Android ends up writing to the /dev tmpfs which means only files explicitly written are present which confuses systrace as it expects certain files to always exist in each cpusets subdirectory. Bug: 180046865 Change-Id: I9858580420d3a3f71eca81e62db561bd1f795c51
-rw-r--r--r11_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/r11_defconfig b/r11_defconfig
index 39627c9..9d109bc 100644
--- a/r11_defconfig
+++ b/r11_defconfig
@@ -15,6 +15,8 @@ CONFIG_MEMCG=y
CONFIG_MEMCG_SWAP=y
CONFIG_CGROUP_SCHED=y
CONFIG_CGROUP_FREEZER=y
+CONFIG_CPUSETS=y
+# CONFIG_PROC_PID_CPUSET is not set
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_BPF=y
CONFIG_CGROUP_DEBUG=y