commit | 744ee8025a238866de1648a0d7afe84b954e988a | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@android.com> | Thu Nov 12 15:33:08 2009 -0800 |
committer | Christopher Tate <ctate@android.com> | Thu Nov 12 15:33:08 2009 -0800 |
tree | 45c614e9d52e4dbdb526545975bdf95c9678e614 | |
parent | 31597999a61c6b58b8f8b903f5f228a6ca07183f [diff] |
Add a host shell function to generate system_server stack traces For debugging non-ANR weird states in the system server, it is incredibly handy to be able to force a complete thread-stack dump of that process. Here's a shell function that does so (creating the /data/anr/traces.txt file with the usual permissions if it does not yet exist). Depends on adb having been configured to run as root. Change-Id: I01d9d733ef08ffefb00cb61968df36ecf62087f0