commit | e336eea49ad3c4480dfd33f0b6332e4c2683bbe0 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Wed Sep 28 14:24:41 2016 -0700 |
committer | Christopher Ferris <cferris@google.com> | Thu Sep 29 15:18:58 2016 -0700 |
tree | 4ed21e215edc2218822e8543845483133b02f835 | |
parent | 1bca5ad2107d25ce5f1703cc973812654538b2b0 [diff] |
Fix code for new malloc debug enable. When using am dumpheap -n, modify the code to print the new way malloc debug works instead of the old way. Also, the old code had a hard-coded number of backtrace frames. The new code allows this to be variable so the code needed to be modified for this too. Test: am dumpheap -n <PID> <FILE> dumps properly. Change-Id: Id79e4acbe04313090eb2b973f023e5b27591bb7d