Index: tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py |
index 437ab897f1017713de9d5ab02f06dc3fc96b95a5..7784884da06859480af6c152bc518237d75223df 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py |
@@ -34,8 +34,8 @@ class AndroidSystraceProfiler(profiler.Profiler): |
# and the two methods conflict. |
self._browser_backend.StartTracing(None, timeout=10) |
self._profiler = subprocess.Popen( |
- [os.path.join(util.GetChromiumSrcDir(), |
- 'build', 'android', 'adb_profile_chrome.py'), |
+ ['python', os.path.join(util.GetChromiumSrcDir(), 'tools', 'android', |
+ 'adb_profile_chrome.py'), |
'--categories', '', '--continuous', '--output', |
self._systrace_output_path, '--systrace'] + _SYSTRACE_CATEGORIES, |
stdin=subprocess.PIPE, stdout=subprocess.PIPE) |