commit | bde70600e1bfa837fa48ea8da350f60b50272aa6 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Wed Dec 30 14:27:09 2020 -0800 |
committer | Alex Light <allight@google.com> | Wed Jan 06 15:12:45 2021 +0000 |
tree | 4aa25d2500e7c16b2c56020db6d8174479416023 | |
parent | 4fa48357a15f49c1dcb7c09a3cb23ab99d52b363 [diff] |
Added a profile bisection tool This tool allows one to bisect methods in a profile to figure out (e.g.) which one is being miscompiled. It will either take a pre-existing profile/text-profile to start from or generate one from the apks where every method is marked as a hot-startup method. Usage: ./art/tools/bisect_profile.py --apk /tmp/benchmarks.dex \ --apk /tmp/ritz.jar \ --output-source bad.text-prof \ bad.prof Test: manual Change-Id: I2744a2c6e2b6cf3dda3ccbb486fa2dbfd888351b