Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: tools/telemetry/telemetry/internal/platform/profiler/perf_profiler.py

Issue 1254843002: telemetry: Fix killing the perf profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/internal/platform/profiler/perf_profiler.py
diff --git a/tools/telemetry/telemetry/internal/platform/profiler/perf_profiler.py b/tools/telemetry/telemetry/internal/platform/profiler/perf_profiler.py
index 03891400daf9687890287c5129507a195e9e63ff..835e9f922c7c82db67c685b54691277c4c6a10aa 100644
--- a/tools/telemetry/telemetry/internal/platform/profiler/perf_profiler.py
+++ b/tools/telemetry/telemetry/internal/platform/profiler/perf_profiler.py
@@ -107,7 +107,8 @@ class _SingleProcessPerfProfiler(object):
device = self._browser_backend.device
try:
binary_name = os.path.basename(self._perf_binary)
- device.KillAll(binary_name, signum=signal.SIGINT, blocking=True)
+ device.KillAll(binary_name, signum=signal.SIGINT, blocking=True,
+ quiet=True)
except device_errors.CommandFailedError:
logging.warning('The perf process could not be killed on the device.')
self._proc.send_signal(signal.SIGINT)

Powered by Google App Engine
This is Rietveld 408576698