diff options
author | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-20 18:27:09 +0000 |
---|---|---|
committer | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-20 18:27:09 +0000 |
commit | e7eb5f258e6608fe56586ac022914d0e24c64ac3 (patch) | |
tree | f2d43f739e2968e2877f0b9156e8a297a36d43e0 /build | |
parent | f50a1a9643ee8a68be648200c2f0093ce3863253 (diff) | |
download | chromium_src-e7eb5f258e6608fe56586ac022914d0e24c64ac3.zip chromium_src-e7eb5f258e6608fe56586ac022914d0e24c64ac3.tar.gz chromium_src-e7eb5f258e6608fe56586ac022914d0e24c64ac3.tar.bz2 |
adb_profile_chrome: Add a --trace-flow flag
Add a --trace-flow flag to adb_profile_chrome for tracing IPC call
flows.
NOTRY=true
Review URL: https://codereview.chromium.org/172803002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/android/adb_profile_chrome.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/android/adb_profile_chrome.py b/build/android/adb_profile_chrome.py index 19a72fe..d3f7c71 100755 --- a/build/android/adb_profile_chrome.py +++ b/build/android/adb_profile_chrome.py @@ -334,6 +334,8 @@ def _ComputeChromeCategories(options): categories.append('disabled-by-default-cc.debug*') if options.trace_gpu: categories.append('disabled-by-default-gpu.debug*') + if options.trace_flow: + categories.append('disabled-by-default-toplevel.flow') if options.chrome_categories: categories += options.chrome_categories.split(',') return categories @@ -393,6 +395,8 @@ def main(): 'ubercompositor frame data.', action='store_true') categories.add_option('--trace-gpu', help='Enable extra trace categories for ' 'GPU data.', action='store_true') + categories.add_option('--trace-flow', help='Enable extra trace categories ' + 'for IPC message flows.', action='store_true') parser.add_option_group(categories) output_options = optparse.OptionGroup(parser, 'Output options') |