diff options
author | 2025-03-27 22:40:02 +0000 | |
---|---|---|
committer | 2025-04-04 21:38:13 -0700 | |
commit | fba9671564613d25ad8ff53990bbbdc6eaca39ae (patch) | |
tree | ac9b2d1150f012d426c4ee333928204ee4ed18f8 | |
parent | 52a09bec39d969285470f810fbcbdf4079a91586 (diff) |
dumpstate: Emit cgroup configuration
This file contains:
* A list of all controllers
* The version for each controller
* Whether each controller is enabled or not
* The total number of cgroups for each controller
Bug: 406851260
Test: adb bugreport br.zip # Check inside for /proc/cgroups contents
Flag: NONE Fails gracefully even if file doesn't exist / can't be accessed
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:661d07c035324343c159ff05b328ef132f075ce2)
Merged-In: I0dce60b73db4d0b366e71892e0c0f1bb1fcc4ca0
Change-Id: I0dce60b73db4d0b366e71892e0c0f1bb1fcc4ca0
-rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 9e3e2b0468..f5d95b3229 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1928,7 +1928,7 @@ Dumpstate::RunStatus Dumpstate::dumpstate() { // Add linker configuration directory ds.AddDir(LINKERCONFIG_DIR, true); - /* Dump frozen cgroupfs */ + DumpFile("Cgroups", "/proc/cgroups"); dump_frozen_cgroupfs(); if (ds.dump_pool_) { |