Home | History | Annotate | Download | only in chromium-trace

Lines Matching refs:parser

37   parser = OptionParserIgnoreErrors()
38 parser.add_option('-e', '--serial', dest='device_serial', type='string')
39 options, args = parser.parse_args()
67 parser = optparse.OptionParser(usage=usage, description=desc)
68 parser.add_option('-o', dest='output_file', help='write HTML to FILE',
70 parser.add_option('-t', '--time', dest='trace_time', type='int',
72 parser.add_option('-b', '--buf-size', dest='trace_buf_size', type='int',
74 parser.add_option('-k', '--ktrace', dest='kfuncs', action='store',
76 parser.add_option('-l', '--list-categories', dest='list_categories', default=False,
78 parser.add_option('-a', '--app', dest='app_name', default=None, type='string',
82 parser.add_option('--link-assets', dest='link_assets', default=False,
85 parser.add_option('--from-file', dest='from_file', action='store',
87 parser.add_option('--asset-dir', dest='asset_dir', default='trace-viewer',
89 parser.add_option('-e', '--serial', dest='device_serial', type='string',
92 options, args = parser.parse_args()
108 parser.error('the trace time must be a positive number')
114 parser.error('the trace buffer size must be a positive number')