| Index: tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py
|
| diff --git a/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py
|
| index 23396eb1cdffa8b66baf76e421e2ea1ec623208d..79cbff85577a0bde8034cbd5f07e529665faa942 100644
|
| --- a/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py
|
| +++ b/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py
|
| @@ -10,7 +10,7 @@ import subprocess
|
| import sys
|
| import tempfile
|
|
|
| -from telemetry.core import platform
|
| +from telemetry.core import platform as platform_module
|
| from telemetry.core import util
|
| from telemetry.core.platform import profiler
|
| from telemetry.core.platform.profiler import android_profiling_helper
|
| @@ -52,7 +52,7 @@ def _PrepareHostForPerf():
|
|
|
|
|
| def _InstallPerfHost():
|
| - host = platform.GetHostPlatform()
|
| + host = platform_module.GetHostPlatform()
|
| if not host.CanLaunchApplication('perfhost'):
|
| host.InstallApplication('perfhost')
|
| return support_binaries.FindPath('perfhost', host.GetOSName())
|
|
|