diff options
author | Thierry Strudel <tstrudel@google.com> | 2015-09-18 11:33:04 -0700 |
---|---|---|
committer | Thierry Strudel <tstrudel@google.com> | 2015-09-18 11:33:37 -0700 |
commit | 0127a971598cec69b92f15c1c5ac21ac9ea766c8 (patch) | |
tree | 7f3697da2ad92cac92b8e6fb29a4f9c06810d990 /dumpstate | |
parent | 7b69f7cf103174b214460adbf1c7c4b21fc16401 (diff) | |
download | bullhead-0127a971598cec69b92f15c1c5ac21ac9ea766c8.tar.gz |
dumpstate: make ION HEAPS dump easier to parse
Change-Id: I283759307d300188e81c4e2336e75ffd576633ef
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Diffstat (limited to 'dumpstate')
-rw-r--r-- | dumpstate/dumpstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpstate/dumpstate.c b/dumpstate/dumpstate.c index 853af8a..410311f 100644 --- a/dumpstate/dumpstate.c +++ b/dumpstate/dumpstate.c @@ -25,7 +25,7 @@ void dumpstate_board() dump_file("SMD Log", "/d/ipc_logging/smd/log"); dump_file("SMD PKT Log", "/d/ipc_logging/smd_pkt/log"); dump_file("IPC Router Log", "/d/ipc_logging/ipc_router/log"); - run_command("ION HEAPS", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for d in $(ls -d /d/ion/*); do for f in $(ls $d); do echo $f; cat $d/$f; done; done", NULL); + run_command("ION HEAPS", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for d in $(ls -d /d/ion/*); do for f in $(ls $d); do echo --- $d/$f; cat $d/$f; done; done", NULL); dump_file("Battery Type", "/sys/class/power_supply/bms/battery_type"); run_command("Temperatures", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for f in emmc_therm msm_therm pa_therm0 xo_therm ; do echo -n \"$f : \" ; cat /sys/class/hwmon/hwmon2/device/$f ; done ; for f in `ls /sys/class/thermal` ; do type=`cat /sys/class/thermal/$f/type` ; temp=`cat /sys/class/thermal/$f/temp` ; echo \"$type: $temp\" ; done", NULL); dump_file("dmesg-ramoops-0", "/sys/fs/pstore/dmesg-ramoops-0"); |