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

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

Merge \\"No need for dumpstate to explicitly reference \\'toybox\\'...\\" am: c1c06a7d

am: b660711d

Change-Id: I09b62f9faa6c72e804a9c3199b518cd3c5edb676
parents 3756a835 b660711d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -636,7 +636,7 @@ 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, "toybox", "top", "-b", "-n", "1", "-H", "-s", "6",
    run_command("CPU INFO", 10, "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");
@@ -651,7 +651,7 @@ static void dumpstate(const std::string& screenshot_path, const std::string& ver
    dump_file("KERNEL CPUFREQ", "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state");
    dump_file("KERNEL SYNC", "/d/sync");

    run_command("PROCESSES AND THREADS", 10, "toybox", "ps", "-A", "-T", "-Z",
    run_command("PROCESSES AND THREADS", 10, "ps", "-A", "-T", "-Z",
                "-O", "pri,nice,rtprio,sched,pcy", NULL);
    run_command("LIBRANK", 10, SU_PATH, "root", "librank", NULL);