Descriptionandroid: Add systrace and combined trace support to adb_profile_chrome
This patch adds systrace support to adb_profile_chrome. You can either
either capture a standalone systrace or a combined Chrome + systrace
which includes data from both sources.
The advantages of a combined trace compared to a normal systrace with
the 'webview' category are:
- Support for advanced Chrome trace features such as object dumps
(e.g., --trace-cc and --trace-gpu), instant events ('X') and flow
events.
- Reduced tracing overhead since Chrome trace events do not need to
make the trip through the kernel trace marker file.
Note that viewing combined traces requires some further work in Trace
Viewer to properly align the clocks from different event streams.
This patch also removes the standalone --start, --stop and --download
options from the script because they are of dubious value and supporting
them with systrace is not straightforward.
BUG=294883
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228669
Patch Set 1 #Patch Set 2 : Tweaks. #Patch Set 3 : Use --async_{start,dump,end} with atrace. #Patch Set 4 : Refactored. Support non-default adb device. #
Total comments: 3
Patch Set 5 : Add continuous mode. No more subprocess. #Patch Set 6 : s/Download/Pull/ #Messages
Total messages: 7 (0 generated)
|