diff options
author | Tim Murray <timmurray@google.com> | 2015-11-20 04:28:46 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-11-20 04:28:46 +0000 |
commit | b3d45922bf579d2f6ae62a85cc7349a723394bd2 (patch) | |
tree | 1a85478698a0938a800536cd260efc473bc038c5 /dumpstate | |
parent | ba98d17e7255ec2cac20461e00d81788ccc52378 (diff) | |
parent | f24112192d534255034e1243dfdf9874536c2a40 (diff) | |
download | bullhead-b3d45922bf579d2f6ae62a85cc7349a723394bd2.tar.gz |
Dump /d/dma_buf/bufinfo in bugreports. am: c2a0db9664
am: f24112192d
* commit 'f24112192d534255034e1243dfdf9874536c2a40':
Dump /d/dma_buf/bufinfo in bugreports.
Diffstat (limited to 'dumpstate')
-rw-r--r-- | dumpstate/dumpstate.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dumpstate/dumpstate.cpp b/dumpstate/dumpstate.cpp index 410311f..82ac468 100644 --- a/dumpstate/dumpstate.cpp +++ b/dumpstate/dumpstate.cpp @@ -26,6 +26,7 @@ void dumpstate_board() 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 --- $d/$f; cat $d/$f; done; done", NULL); + dump_file("dmabuf info", "/d/dma_buf/bufinfo"); 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"); |