Descriptionadb_profile_chrome: Add perf profiler
This patch makes it possible to run the perf profiler
through adb_profile_chrome. The result is a trace file that
contains samples from perf as well as events from Chrome
trace events or systrace.
For example, to find out in which functions CPU time is
being spent:
$ build/android/adb_profile_chrome --browser build --time 5 --perf
BUG=375754
TEST=build/android/chrome_profiler/run_tests
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274837
Patch Set 1 #Patch Set 2 : Checkpoint. #Patch Set 3 : Refactoring. #Patch Set 4 : Merge perf profiles. #Patch Set 5 : Run perf in system wide mode. #Patch Set 6 : Allow just --perf for using regular 'cycles' sampling. #Patch Set 7 : Rebased. #
Total comments: 6
Patch Set 8 : Made perf optional. Addressed Dominik's comments. #Patch Set 9 : Implemented trace merging. #
Total comments: 16
Patch Set 10 : Review comments. #Patch Set 11 : Remove unneeded entrypoint. #
Messages
Total messages: 9 (0 generated)
|