diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-04-07 15:11:57 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-04-07 18:26:15 -0700 |
commit | e17aeb31030cfeed339a39a107912ad5e9178390 (patch) | |
tree | e0773ea106c5504e2ef107a91f5871827cd76b75 /cmds | |
parent | 097786507b07ff7137b305b5cf71b5ecbc6b029e (diff) | |
download | frameworks_base-e17aeb31030cfeed339a39a107912ad5e9178390.zip frameworks_base-e17aeb31030cfeed339a39a107912ad5e9178390.tar.gz frameworks_base-e17aeb31030cfeed339a39a107912ad5e9178390.tar.bz2 |
Improve activity manager debug dumps.
Activity manager now does all dump requests into apps
asynchronously, so it can nicely timeout if there is an
app problem. Also lots of general cleanup of the am
dump output.
Change-Id: Id0dbccffb217315aeb85c964e379833e6aa3f5af
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index 533a60a..df7037c 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -185,11 +185,16 @@ static void dumpstate() { run_command("DUMPSYS", 60, "dumpsys", NULL); printf("========================================================\n"); - printf("== Application Services\n"); + printf("== Running Application Activities\n"); printf("========================================================\n"); - /* Instead of a 60s timeout, we should give each service a 5 second timeout */ - run_command("APP SERVICES", 60, "dumpsys", "activity", "service", NULL); + run_command("APP ACTIVITIES", 30, "dumpsys", "activity", "all", NULL); + + printf("========================================================\n"); + printf("== Running Application Services\n"); + printf("========================================================\n"); + + run_command("APP SERVICES", 30, "dumpsys", "activity", "service", "all", NULL); } |