| 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..372cf27e63a0ec6ea994604e8162883e2d418bd9 100644
|
| --- a/tools/android/adb_profile_chrome/perf_controller.py
|
| +++ b/tools/android/adb_profile_chrome/perf_controller.py
|
| @@ -64,8 +64,7 @@ class _PerfProfiler(object):
|
| stderr=subprocess.STDOUT)
|
|
|
| def SignalAndWait(self):
|
| - perf_pids = self._device.old_interface.ExtractPid('perf')
|
| - self._device.RunShellCommand('kill -SIGINT ' + ' '.join(perf_pids))
|
| + self._device.KillAll('perf', signum=signal.SIGINT)
|
| self._perf_process.wait()
|
| self._perf_control.SetDefaultPerfMode()
|
|
|
|
|