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
1 file changed