Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0998eeb6 authored by Li Li's avatar Li Li Committed by Automerger Merge Worker
Browse files

Merge "Include freezer cgroupfs info in bugreport" into sc-dev am: 80e30bd8 am: 8ea9d2a1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15163080

Change-Id: Ia8247556e7af528e3de00bc488c7a92724e6d6d7
parents c51c3e75 8ea9d2a1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -176,6 +176,7 @@ void add_mountinfo();
#define LINKERCONFIG_DIR "/linkerconfig"
#define PACKAGE_DEX_USE_LIST "/data/system/package-dex-usage.list"
#define SYSTEM_TRACE_SNAPSHOT "/data/misc/perfetto-traces/bugreport/systrace.pftrace"
#define CGROUPFS_DIR "/sys/fs/cgroup"

// TODO(narayan): Since this information has to be kept in sync
// with tombstoned, we should just put it in a common header.
@@ -1785,6 +1786,9 @@ static Dumpstate::RunStatus dumpstate() {
    // Add linker configuration directory
    ds.AddDir(LINKERCONFIG_DIR, true);

    /* Dump cgroupfs */
    ds.AddDir(CGROUPFS_DIR, true);

    if (ds.dump_pool_) {
        WAIT_TASK_WITH_CONSENT_CHECK(DUMP_INCIDENT_REPORT_TASK, ds.dump_pool_);
    } else {