Index: tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py b/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py |
index d2c87c6b1b83fdf9a06b4c22044e9dda714237ea..29ed3438fa2e25272856ec8b9c6db80b80d12624 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py |
@@ -19,7 +19,8 @@ def GetDevicePath(profiler_binary): |
@decorators.Cache |
def InstallOnDevice(device, profiler_binary): |
- host_path = support_binaries.FindPath(profiler_binary, 'android') |
+ arch_name = device.GetABI() |
+ host_path = support_binaries.FindPath(profiler_binary, arch_name, 'android') |
if not host_path: |
logging.error('Profiler binary "%s" not found. Could not be installed', |
host_path) |