Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py

Issue 643973002: Add multi-architecture support in telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybot failure Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()

Powered by Google App Engine
This is Rietveld 408576698