Index: tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py |
index f32eba30f7bd91b53618d5530afe6910b6b90786..6b460d98f65cee035a7ccfcbd2305aa7e0ee64d7 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py |
@@ -101,8 +101,7 @@ class _SingleProcessPerfProfiler(object): |
if self._is_android: |
device = self._browser_backend.adb.device() |
perf_pids = device.old_interface.ExtractPid('perf') |
- device.old_interface.RunShellCommand( |
- 'kill -SIGINT ' + ' '.join(perf_pids)) |
+ device.RunShellCommand('kill -SIGINT ' + ' '.join(perf_pids)) |
util.WaitFor(lambda: not device.old_interface.ExtractPid('perf'), |
timeout=2) |
self._proc.send_signal(signal.SIGINT) |