summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dmitry Shmidt <dimitrysh@google.com> 2012-11-08 15:43:05 -0800
committer Android Git Automerger <android-git-automerger@android.com> 2012-11-08 15:43:05 -0800
commit77622879a6a12c6cb916df46c919dde87656e6df (patch)
treedf0f120eff0461135f8db77abfec46f8f05b5d75
parentaf9e8a59619ec6050739dd68ea108cc7e182d059 (diff)
parent4bacaec4cd5844d67bfa4659393cb7e7fe343d1e (diff)
am 4bacaec4: am 0b2c9268: bugreport: Add /proc/interrupts dump
* commit '4bacaec4cd5844d67bfa4659393cb7e7fe343d1e': 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();