| Index: tools/telemetry/telemetry/core/platform/profiler/strace_profiler.py
|
| diff --git a/tools/telemetry/telemetry/core/platform/profiler/strace_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/strace_profiler.py
|
| index 6d64700481807348c1f27ffd0c88f0c6e569ffcb..f2701068c37de29acff104756aefcb1df7ad8f6d 100644
|
| --- a/tools/telemetry/telemetry/core/platform/profiler/strace_profiler.py
|
| +++ b/tools/telemetry/telemetry/core/platform/profiler/strace_profiler.py
|
| @@ -217,12 +217,12 @@ class StraceProfiler(profiler.Profiler):
|
| return 'strace'
|
|
|
| @classmethod
|
| - def is_supported(cls, options):
|
| + def is_supported(cls, browser_type):
|
| if sys.platform != 'linux2':
|
| return False
|
| # TODO(tonyg): This should be supported on android and cros.
|
| - if options and (options.browser_type.startswith('android')
|
| - or options.browser_type.startswith('cros')):
|
| + if (browser_type.startswith('android') or
|
| + browser_type.startswith('cros')):
|
| return False
|
| return True
|
|
|
|
|