Index: tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py b/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
index 2a8fd9fce10ff71ce973f03882b378d8afb1db27..a6c2a6f66160e365d73f987801e8264cb72f15a9 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
@@ -105,7 +105,8 @@ def GetRequiredLibrariesForPerfProfile(profile_file): |
A set of required library file names. |
""" |
with open(os.devnull, 'w') as dev_null: |
- perfhost_path = support_binaries.FindPath(GetPerfhostName(), 'linux') |
+ perfhost_path = support_binaries.FindPath( |
+ GetPerfhostName(), 'x86_64', 'linux') |
perf = subprocess.Popen([perfhost_path, 'script', '-i', profile_file], |
stdout=dev_null, stderr=subprocess.PIPE) |
_, output = perf.communicate() |