summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-11-07 11:09:46 -0800
committerDmitry Shmidt <dimitrysh@google.com>2012-11-07 11:09:46 -0800
commit0b2c9268265e9a165551eaa66cb461d3fab8b564 (patch)
tree939544b7792eb850ce977ac41cf44cb198a136e9
parentc11f56e5615c5d388c072705322df5bcf22c2012 (diff)
downloadframeworks_native-0b2c9268265e9a165551eaa66cb461d3fab8b564.zip
frameworks_native-0b2c9268265e9a165551eaa66cb461d3fab8b564.tar.gz
frameworks_native-0b2c9268265e9a165551eaa66cb461d3fab8b564.tar.bz2
bugreport: Add /proc/interrupts dump
Bug: 7301178 Change-Id: Ifad3b981ac904d4637d69dfc223d5bb2c9d80bda Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-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 bb54e4b..8718bb6 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();