/art/tools/ahat/etc/ |
D | hprofdump.py | 24 hprof = open(filename, "rb") variable 26 def readu1(hprof): argument 27 return struct.unpack('!B', hprof.read(1))[0] 29 def readu2(hprof): argument 30 return struct.unpack('!H', hprof.read(2))[0] 32 def readu4(hprof): argument 33 return struct.unpack('!I', hprof.read(4))[0] 35 def readu8(hprof): argument 36 return struct.unpack('!Q', hprof.read(8))[0] 38 def readN(n, hprof): argument [all …]
|
D | README.txt | 1 L.hprof 2 A version of the test-dump hprof generated on Android L, with one of the 5 O.hprof 6 A version of the test-dump hprof generated on Android O. 8 RI.hprof 9 A version of the test-dump hprof generated on the reference implementation.
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Parser.java | 57 private HprofBuffer hprof = null; field in Parser 67 public Parser(ByteBuffer hprof) { in Parser() argument 68 this.hprof = new HprofBuffer(hprof); in Parser() 77 public Parser(File hprof) throws IOException { in Parser() argument 78 this.hprof = new HprofBuffer(hprof); in Parser() 144 public static AhatSnapshot parseHeapDump(File hprof, ProguardMap map) in parseHeapDump() argument 146 return new Parser(hprof).map(map).parse(); in parseHeapDump() 158 public static AhatSnapshot parseHeapDump(ByteBuffer hprof, ProguardMap map) in parseHeapDump() argument 160 return new Parser(hprof).map(map).parse(); in parseHeapDump() 169 while ((b = hprof.getU1()) != 0) { in parseInternal() [all …]
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | Main.java | 66 private static AhatSnapshot loadHeapDump(File hprof, in loadHeapDump() argument 68 System.out.println("Processing '" + hprof + "' ..."); in loadHeapDump() 70 return new Parser(hprof).map(map).progress(progress).retained(retained).parse(); in loadHeapDump() 72 System.err.println("Unable to load '" + hprof + "':"); in loadHeapDump() 75 System.err.println("'" + hprof + "' does not appear to be a valid Java heap dump:"); in loadHeapDump() 99 File hprof = null; in main() local 147 if (hprof != null) { in main() 152 hprof = new File(args[i]); in main() 156 if (hprof == null) { in main() 176 AhatSnapshot ahat = loadHeapDump(hprof, map, new AsciiProgress(), retained); in main() [all …]
|
D | OverviewHandler.java | 33 public OverviewHandler(AhatSnapshot snapshot, File hprof, File basehprof, Reachability retained) { in OverviewHandler() argument 35 mHprof = hprof; in OverviewHandler()
|
/art/tools/ahat/ |
D | Android.mk | 30 AHAT_TEST_DUMP_HPROF := $(AHAT_TEST_DUMP_COMMON)/test-dump.hprof 31 AHAT_TEST_DUMP_BASE_HPROF := $(AHAT_TEST_DUMP_COMMON)/test-dump-base.hprof 91 AHAT_RI_TEST_DUMP_HPROF := $(AHAT_RI_TEST_DUMP_COMMON)/ri-test-dump.hprof 109 $(LOCAL_PATH)/etc/L.hprof \ 110 $(LOCAL_PATH)/etc/O.hprof \ 111 $(LOCAL_PATH)/etc/RI.hprof
|
D | README.txt | 27 * Include ahat version and hprof file in the menu at the top of the page? 41 * That we can open a hprof without an 'app' heap and show a tabulation of
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | TestDump.java | 127 ByteBuffer hprof = dataBufferFromResource(mHprofResource); in load() local 128 mSnapshot = new Parser(hprof).map(map).retained(mRetained).parse(); in load() 264 public static synchronized TestDump getTestDump(String hprof, in getTestDump() argument 270 if (Objects.equals(loaded.mHprofResource, hprof) in getTestDump() 281 TestDump dump = new TestDump(hprof, base, map, retained); in getTestDump()
|
/art/runtime/hprof/ |
D | hprof.h | 22 namespace hprof {
|
D | hprof.cc | 73 namespace hprof { namespace 1610 Hprof hprof(filename, fd, direct_to_ddms); in DumpHeap() local 1611 hprof.Dump(); in DumpHeap()
|
/art/tools/ |
D | build_linux_bionic_tests.sh | 89 $soong_out/bin/hprof-conv
|
/art/test/ |
D | Android.run-test.mk | 55 $(HOST_OUT_EXECUTABLES)/hprof-conv \
|
/art/runtime/native/ |
D | dalvik_system_VMDebug.cc | 240 hprof::DumpHeap(filename.c_str(), fd, false); in VMDebug_dumpHprofData() 244 hprof::DumpHeap("[DDMS]", -1, true); in VMDebug_dumpHprofDataDdms()
|
/art/runtime/ |
D | runtime_options.def | 183 // Whether to allow loading of the perfetto hprof plugin.
|
D | Android.bp | 135 "hprof/hprof.cc",
|
/art/build/apex/ |
D | Android.bp | 159 "hprof-conv",
|
/art/ |
D | Android.mk | 75 hprof-conv \
|