Skip to content

Commit 661d07c

Browse files
committed
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 Change-Id: I0dce60b73db4d0b366e71892e0c0f1bb1fcc4ca0
1 parent 514de0f commit 661d07c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmds/dumpstate/dumpstate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1928,7 +1928,7 @@ Dumpstate::RunStatus Dumpstate::dumpstate() {
19281928
// Add linker configuration directory
19291929
ds.AddDir(LINKERCONFIG_DIR, true);
19301930

1931-
/* Dump frozen cgroupfs */
1931+
DumpFile("Cgroups", "/proc/cgroups");
19321932
dump_frozen_cgroupfs();
19331933

19341934
if (ds.dump_pool_) {

0 commit comments

Comments
 (0)