am ea14602e: am 9cea6ccb: dumpstate: report device uptime mmc performance

* commit 'ea14602e6e1e415f3c6b53ef498d4deff00c23ac':
  dumpstate: report device uptime mmc performance
This commit is contained in:
Mark Salyzyn 2014-11-05 00:21:48 +00:00 committed by Android Git Automerger
commit 1fd0695a3b

View File

@ -132,6 +132,7 @@ static void dumpstate() {
dump_dev_files("TRUSTY VERSION", "/sys/bus/platform/drivers/trusty", "trusty_version"); dump_dev_files("TRUSTY VERSION", "/sys/bus/platform/drivers/trusty", "trusty_version");
run_command("UPTIME", 10, "uptime", NULL); run_command("UPTIME", 10, "uptime", NULL);
dump_file("MMC PERF", "/sys/block/mmcblk0/stat");
dump_file("MEMORY INFO", "/proc/meminfo"); dump_file("MEMORY INFO", "/proc/meminfo");
run_command("CPU INFO", 10, "top", "-n", "1", "-d", "1", "-m", "30", "-t", NULL); run_command("CPU INFO", 10, "top", "-n", "1", "-d", "1", "-m", "30", "-t", NULL);
run_command("PROCRANK", 20, "procrank", NULL); run_command("PROCRANK", 20, "procrank", NULL);