DescriptionSymfs is a set of files needed by perf to turn binary
addresses into human readable symbols. This patch improves the
symfs generation process on Android in four ways:
1. Actually verify that the unstripped symbol library matches
the stripped file that was running on the device. This helps
to avoid wasting time looking at bogus perf reports generated
from mismatching libraries.
2. Download the exact set of system libraries used by the
application instead of a hardcoded set. This makes the download
process much faster. The tool now also checks that the libraries
we have downloaded match the ones on the device.
3. Refactor symfs construction and other Android-specific perf
steps into a standalone helper (with tests). This helper will
eventually be used by adb_profile_chrome for perf profiling.
4. Fix a case where perf could fail silently and we would
download a previously recorded perf run from the device.
BUG=375754
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273261
Patch Set 1 #Patch Set 2 : Only pull necessary libs from the device. Tests TBD. #Patch Set 3 : Tests. #Patch Set 4 : Comment tweak. #
Total comments: 4
Patch Set 5 : Rebased. #Patch Set 6 : Address comments and add a pylint override. #Patch Set 7 : Renamed to be more generic, #
Total comments: 8
Patch Set 8 : Address comments. #Patch Set 9 : Fixed bug with missing some required libraries. #Patch Set 10 : Mock out perf binary. #
Messages
Total messages: 25 (0 generated)
|