commit | fba9671564613d25ad8ff53990bbbdc6eaca39ae | [log] [tgz] |
---|---|---|
author | T.J. Mercier <tjmercier@google.com> | Thu Mar 27 22:40:02 2025 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Apr 04 21:38:13 2025 -0700 |
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
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 9e3e2b0..f5d95b3 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp
@@ -1928,7 +1928,7 @@ // Add linker configuration directory ds.AddDir(LINKERCONFIG_DIR, true); - /* Dump frozen cgroupfs */ + DumpFile("Cgroups", "/proc/cgroups"); dump_frozen_cgroupfs(); if (ds.dump_pool_) {