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

Commit c9177578 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Add linkerconfig into dumpstate" am: 0373c65c am: 685bd276 am: 44cd3d21

Change-Id: Ica41934dc0a6da58f40f8ce87ae618ed1e0e5878
parents 390af803 44cd3d21
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -156,6 +156,7 @@ void add_mountinfo();
#define WMTRACE_DATA_DIR "/data/misc/wmtrace"
#define OTA_METADATA_DIR "/metadata/ota"
#define SNAPSHOTCTL_LOG_DIR "/data/misc/snapshotctl_log"
#define LINKERCONFIG_DIR "/linkerconfig"

// TODO(narayan): Since this information has to be kept in sync
// with tombstoned, we should just put it in a common header.
@@ -1533,6 +1534,9 @@ static Dumpstate::RunStatus dumpstate() {
    // This differs from the usual dumpsys stats, which is the stats report data.
    RunDumpsys("STATSDSTATS", {"stats", "--metadata"});

    // Add linker configuration directory
    ds.AddDir(LINKERCONFIG_DIR, true);

    RUN_SLOW_FUNCTION_WITH_CONSENT_CHECK(DumpIncidentReport);

    return Dumpstate::RunStatus::OK;