| Index: systrace/systrace/run_systrace.py
|
| diff --git a/systrace/systrace/run_systrace.py b/systrace/systrace/run_systrace.py
|
| index dc910609aa679abb6fbbde71b4582d19d437cb09..2cff05f733020942b4ad281bf9c9fd729c239f5e 100755
|
| --- a/systrace/systrace/run_systrace.py
|
| +++ b/systrace/systrace/run_systrace.py
|
| @@ -129,6 +129,10 @@ def main_impl(arguments):
|
| raise RuntimeError('Categories are only valid for atrace/ftrace. Target '
|
| 'platform must be either Android or Linux.')
|
|
|
| + # Include atrace categories by default in Systrace.
|
| + if options.target == 'android' and not options.atrace_categories:
|
| + options.atrace_categories = atrace_agent.DEFAULT_CATEGORIES
|
| +
|
| if options.target == 'android' and not options.from_file:
|
| initialize_devil()
|
| if not options.device_serial_number:
|
|
|