diff options
Diffstat (limited to 'catapult/systrace/profile_chrome')
3 files changed, 2 insertions, 3 deletions
diff --git a/catapult/systrace/profile_chrome/chrome_startup_tracing_agent.py b/catapult/systrace/profile_chrome/chrome_startup_tracing_agent.py index c1456c11..53be30ce 100644 --- a/catapult/systrace/profile_chrome/chrome_startup_tracing_agent.py +++ b/catapult/systrace/profile_chrome/chrome_startup_tracing_agent.py @@ -40,7 +40,7 @@ class ChromeStartupTracingAgent(tracing_agents.TracingAgent): def _SetupTracing(self): # TODO(lizeb): Figure out how to clean up the command-line file when # _TearDownTracing() is not executed in StopTracing(). - flags = ['--trace-startup'] + flags = ['--trace-startup', '--enable-perfetto'] if self._trace_time is not None: flags.append('--trace-startup-duration={}'.format(self._trace_time)) self._flag_changer.AddFlags(flags) diff --git a/catapult/systrace/profile_chrome/perf_tracing_agent.py b/catapult/systrace/profile_chrome/perf_tracing_agent.py index c7ad9468..1414905e 100644 --- a/catapult/systrace/profile_chrome/perf_tracing_agent.py +++ b/catapult/systrace/profile_chrome/perf_tracing_agent.py @@ -26,7 +26,6 @@ try: # pylint: disable=F0401,no-name-in-module,wrong-import-position from telemetry.internal.platform.profiler import android_profiling_helper from telemetry.internal.util import binary_manager - # pylint: enable=wrong-import-position except ImportError: android_profiling_helper = None binary_manager = None diff --git a/catapult/systrace/profile_chrome/profiler_unittest.py b/catapult/systrace/profile_chrome/profiler_unittest.py index 9b35753d..cd7af956 100644 --- a/catapult/systrace/profile_chrome/profiler_unittest.py +++ b/catapult/systrace/profile_chrome/profiler_unittest.py @@ -18,7 +18,7 @@ class ProfilerTest(unittest.TestCase): def setUp(self): ui.EnableTestMode() self._tracing_options = tracing_controller.TracingControllerConfig(None, - None, None, None, None, None, None, None, None) + None, None, None, None, None, None, None, None, None) @decorators.ClientOnlyTest def testCaptureBasicProfile(self): |