From 5a446bd6c72d25ed2435fb2279bd8617ad003d2e Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Tue, 10 Sep 2019 11:30:26 +0000 Subject: Reland "Java Heap Profiler for Perfetto." This reverts commit 8f70b9672c13a5ca19cf2c54ace3cb2f342f743a. Reason for revert: Roll forward with fix. Add hprof_listener to threads allowed to start early. Bug: 136210868 Test: * art/tools/run-gtests.sh -j4 arm/instruction_set_features_test already failing at base art/arm64/image_space_test already failing at base art/arm/image_space_test already failing at base * art/test/testrunner/testrunner.py --target --64 * art/tools/run-libcore-tests.sh --mode=device --variant=X64 * art/tools/run-jdwp-tests.sh --mode=device --variant=X64 * Start profile, killall -38, see dumped data. Change-Id: I90c3f8158d95d735fe2a67e25813543849dd0c4f --- build/apex/art_apex_test.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build/apex/art_apex_test.py') diff --git a/build/apex/art_apex_test.py b/build/apex/art_apex_test.py index 7a992e643e..2b424044f2 100755 --- a/build/apex/art_apex_test.py +++ b/build/apex/art_apex_test.py @@ -528,6 +528,7 @@ class ReleaseTargetChecker: # Check internal libraries for ART. self._checker.check_prefer64_library('libart-disassembler') + self._checker.check_native_library('libperfetto_hprof') # Check exported native libraries for Managed Core Library. self._checker.check_native_library('libandroidicu') @@ -621,6 +622,7 @@ class DebugTargetChecker: # Check ART internal libraries. self._checker.check_native_library('libdexfiled_external') self._checker.check_prefer64_library('libartd-disassembler') + self._checker.check_native_library('libperfetto_hprofd') # Check internal native library dependencies. # -- cgit v1.2.3-59-g8ed1b