summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dmitry Shmidt <dimitrysh@google.com> 2012-11-07 14:37:14 -0800
committer Android Git Automerger <android-git-automerger@android.com> 2012-11-07 14:37:14 -0800
commit4bacaec4cd5844d67bfa4659393cb7e7fe343d1e (patch)
tree44ddaa55355fa3f60791475aa6e96a814f4e2608
parent61db92e72771a42456a3b703f275c4a4e1f8b552 (diff)
parent0b2c9268265e9a165551eaa66cb461d3fab8b564 (diff)
am 0b2c9268: bugreport: Add /proc/interrupts dump
* commit '0b2c9268265e9a165551eaa66cb461d3fab8b564': bugreport: Add /proc/interrupts dump
-rw-r--r--cmds/dumpstate/dumpstate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index bb54e4bdee..8718bb65c1 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -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();