From fba9671564613d25ad8ff53990bbbdc6eaca39ae Mon Sep 17 00:00:00 2001 From: "T.J. Mercier" Date: Thu, 27 Mar 2025 22:40:02 +0000 Subject: 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 --- cmds/dumpstate/dumpstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_) { -- cgit v1.2.3-59-g8ed1b