diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-09-24 11:16:23 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-09-24 13:11:55 -0700 |
commit | f123e49bf0708719b51a7064ae134c097abe4a54 (patch) | |
tree | 73c218afbbede522ca5c7d70b1399cf55609ca5d /cmds/dumpstate | |
parent | 6d8fae722cfb2833dd542b2a5e613582a9096fc6 (diff) | |
download | frameworks_base-f123e49bf0708719b51a7064ae134c097abe4a54.zip frameworks_base-f123e49bf0708719b51a7064ae134c097abe4a54.tar.gz frameworks_base-f123e49bf0708719b51a7064ae134c097abe4a54.tar.bz2 |
Some debugging support.
- New feature to "am monitor" to have it automatically launch
gdbserv for you when a crash/ANR happens, and tell you how to
run the client.
- Update dumpstate to match new location of binder debug logs
- Various commented out logs that are being used to track down
issues.
Change-Id: Ia5dd0cd2df983a1fc6be697642a4590aa02a26a5
Diffstat (limited to 'cmds/dumpstate')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index 6e9caaf..822f62d 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -122,11 +122,11 @@ static void dumpstate() { run_command("PROCESSES AND THREADS", 10, "ps", "-t", "-p", "-P", NULL); run_command("LIBRANK", 10, "librank", NULL); - dump_file("BINDER FAILED TRANSACTION LOG", "/proc/binder/failed_transaction_log"); - dump_file("BINDER TRANSACTION LOG", "/proc/binder/transaction_log"); - dump_file("BINDER TRANSACTIONS", "/proc/binder/transactions"); - dump_file("BINDER STATS", "/proc/binder/stats"); - run_command("BINDER PROCESS STATE", 10, "sh", "-c", "cat /proc/binder/proc/*"); + dump_file("BINDER FAILED TRANSACTION LOG", "/sys/kernel/debug/binder/failed_transaction_log"); + dump_file("BINDER TRANSACTION LOG", "/sys/kernel/debug/binder/transaction_log"); + dump_file("BINDER TRANSACTIONS", "/sys/kernel/debug/binder/transactions"); + dump_file("BINDER STATS", "/sys/kernel/debug/binder/stats"); + dump_file("BINDER STATE", "/sys/kernel/debug/binder/state"); run_command("FILESYSTEMS & FREE SPACE", 10, "df", NULL); |