| Index: tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py
|
| diff --git a/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py
|
| index 746349dd70e5e8d16231f5fa5db13360e2bf41e7..850f3a28e0bc1ae5a3a12b72f2f4e27c42d9cd34 100644
|
| --- a/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py
|
| +++ b/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py
|
| @@ -84,11 +84,11 @@ class VTuneProfiler(profiler.Profiler):
|
| return 'vtune'
|
|
|
| @classmethod
|
| - def is_supported(cls, options):
|
| + def is_supported(cls, browser_type):
|
| if sys.platform != 'linux2':
|
| return False
|
| - 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
|
| try:
|
| return not subprocess.Popen(['amplxe-cl', '-version'],
|
|
|