Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Unified Diff: systrace/profile_chrome/flags.py

Issue 2297403003: Use Systrace tracing controller in profile_chrome (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Added property method for tracing controller's child agents Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: systrace/profile_chrome/flags.py
diff --git a/systrace/profile_chrome/flags.py b/systrace/profile_chrome/flags.py
index e0c3019e6f847da4782fcd4177562716deca11b2..c95112367410768d980b4b72d5daa39b27f90c86 100644
--- a/systrace/profile_chrome/flags.py
+++ b/systrace/profile_chrome/flags.py
@@ -7,9 +7,10 @@ import optparse
def OutputOptions(parser):
output_options = optparse.OptionGroup(parser, 'Output options')
- output_options.add_option('-o', '--output', help='Save trace output to file.')
+ output_options.add_option('-o', '--output', dest='output_file',
+ help='Save trace output to file.')
output_options.add_option('--json', help='Save trace as raw JSON instead of '
- 'HTML.', action='store_true')
+ 'HTML.', dest='write_json')
output_options.add_option('--view', help='Open resulting trace file in a '
'browser.', action='store_true')
return output_options

Powered by Google App Engine
This is Rietveld 408576698