Index: tools/profile_chrome/perf_controller.py |
diff --git a/tools/profile_chrome/perf_controller.py b/tools/profile_chrome/perf_controller.py |
index 2250b722cc195a0029917510f748b903f98cee99..1a83eec2f6bf3e153a35b6a98686a5d80c02bd2a 100644 |
--- a/tools/profile_chrome/perf_controller.py |
+++ b/tools/profile_chrome/perf_controller.py |
@@ -164,7 +164,8 @@ class PerfProfilerController(controllers.BaseController): |
symfs_dir, |
required_libs, |
use_symlinks=False) |
- perfhost_path = support_binaries.FindPath('perfhost', 'linux') |
+ perfhost_path = support_binaries.FindPath( |
+ android_profiling_helper.GetPerfhostName(), 'linux') |
ui.PrintMessage('\nNote: to view the profile in perf, run:') |
ui.PrintMessage(' ' + self._GetInteractivePerfCommand(perfhost_path, |