Dump /d/dma_buf/bufinfo in bugreports.

Useful for tracking down where things are allocated.

bug 25392275

Change-Id: I45853324d4a4b630f6d1464c7cd5d014cb7bfda2
diff --git a/dumpstate/dumpstate.c b/dumpstate/dumpstate.c
index 410311f..82ac468 100644
--- a/dumpstate/dumpstate.c
+++ b/dumpstate/dumpstate.c
@@ -26,6 +26,7 @@
     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");