Commit Graph

1 Commits

Author SHA1 Message Date
Makoto Onuki
5cd3d2c9f0 Add some hostside scripts to make life easier
- Take a heapdump and open it with ahat on the browser:
runhat2 PID_OR_PROCESS_NAME

- Take thread stacktrace dump
stacktrace PID_OR_PROCESS_NAME

TODO: Remove runhat? Is there anyone still using it?

Bug: 110088132
Test: stacktrace system_server
Test: stacktrace $(pid system_server)
Test: stacktrace com.android.systemui
Test: runhat2 system_server
Change-Id: I8ee4b51ac9097d5342d2d4209407a4b8ac4d5945
2018-06-14 11:08:33 -07:00