commit | 6bf992c9d51f1e12aa37fe4c791c156402a9b79b | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Thu Jan 28 17:01:39 2010 -0800 |
committer | Andy McFadden <fadden@android.com> | Fri Jan 29 13:23:39 2010 -0800 |
tree | 524eaec56bfbbcb454869be8952dcd4fcbff2da5 | |
parent | 97d22dfc9a63d99dbad44a00622a9979b250b9d9 [diff] |
Add support for streaming hprof dumps. This adds the dumpHprofDataDdms method, which generates the hprof dump in RAM and then spits the whole thing at DDMS. The idea is to avoid touching /sdcard, since not all apps have permission to do that. This rearranges hprofShutdown() a fair bit. It used to re-use a context struct, saving interesting bits to local variables before zapping it; now we just create a second context struct and free both at the end. For bug 2092855.