am 0b2c9268: bugreport: Add /proc/interrupts dump

* commit '0b2c9268265e9a165551eaa66cb461d3fab8b564':
  bugreport: Add /proc/interrupts dump
This commit is contained in:
Dmitry Shmidt 2012-11-07 14:37:14 -08:00 committed by Android Git Automerger
commit 4bacaec4cd

View File

@ -192,6 +192,8 @@ static void dumpstate() {
run_command("DUMP WIFI INTERNAL COUNTERS", 20,
SU_PATH, "root", "wlutil", "counters", NULL);
#endif
dump_file("INTERRUPTS (1)", "/proc/interrupts");
property_get("dhcp.wlan0.gateway", network, "");
if (network[0])
run_command("PING GATEWAY", 10, SU_PATH, "root", "ping", "-c", "3", "-i", ".5", network, NULL);
@ -207,6 +209,7 @@ static void dumpstate() {
run_command("DUMP WIFI INTERNAL COUNTERS", 20,
SU_PATH, "root", "wlutil", "counters", NULL);
#endif
dump_file("INTERRUPTS (2)", "/proc/interrupts");
print_properties();