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

Commit 41a67e15 authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge \\"Move dumpstate over to toybox top.\\" am: f5e4ac03

am: 0498cc96

Change-Id: Ie747d812296798d74d61bba4f9092ba0585b415d
parents a2db19c4 0498cc96
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -636,7 +636,8 @@ static void dumpstate(const std::string& screenshot_path, const std::string& ver
    dump_files("UPTIME MMC PERF", mmcblk0, skip_not_stat, dump_stat_from_fd);
    dump_emmc_ecsd("/d/mmc0/mmc0:0001/ext_csd");
    dump_file("MEMORY INFO", "/proc/meminfo");
    run_command("CPU INFO", 10, "top", "-n", "1", "-d", "1", "-m", "30", "-H", NULL);
    run_command("CPU INFO", 10, "toybox", "top", "-b", "-n", "1", "-H", "-s", "6",
                "-o", "pid,tid,user,pr,ni,%cpu,s,virt,res,pcy,cmd,name", NULL);
    run_command("PROCRANK", 20, SU_PATH, "root", "procrank", NULL);
    dump_file("VIRTUAL MEMORY STATS", "/proc/vmstat");
    dump_file("VMALLOC INFO", "/proc/vmallocinfo");