Index: tools/android/adb_profile_chrome/perf_controller.py |
diff --git a/tools/android/adb_profile_chrome/perf_controller.py b/tools/android/adb_profile_chrome/perf_controller.py |
index c7d573e407596c3fd6e8df2a50433b828ec4f42d..f70bd51fc7393b0d31bbf4688942077f270d1b11 100644 |
--- a/tools/android/adb_profile_chrome/perf_controller.py |
+++ b/tools/android/adb_profile_chrome/perf_controller.py |
@@ -64,7 +64,7 @@ class _PerfProfiler(object): |
stderr=subprocess.STDOUT) |
def SignalAndWait(self): |
- perf_pids = self._device.old_interface.ExtractPid('perf') |
+ perf_pids = self._device.GetPid('perf') |
self._device.RunShellCommand('kill -SIGINT ' + ' '.join(perf_pids)) |
self._perf_process.wait() |
self._perf_control.SetDefaultPerfMode() |