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

Unified Diff: tools/telemetry/telemetry/benchmark_runner.py

Issue 1379063003: [Telemetry] Move listing stray processes to more appropriate places (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 2 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
« no previous file with comments | « no previous file | tools/telemetry/telemetry/internal/util/global_hooks.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/benchmark_runner.py
diff --git a/tools/telemetry/telemetry/benchmark_runner.py b/tools/telemetry/telemetry/benchmark_runner.py
index ad98b7f3d18e3c1fe254a66e2aeccacc6584fbd2..66c12a42b214ddd8b361a0037c627469f9b9e238 100644
--- a/tools/telemetry/telemetry/benchmark_runner.py
+++ b/tools/telemetry/telemetry/benchmark_runner.py
@@ -31,6 +31,7 @@ from telemetry.internal.browser import browser_finder
from telemetry.internal.browser import browser_options
from telemetry.internal.util import binary_manager
from telemetry.internal.util import command_line
+from telemetry.internal.util import ps_util
def _IsBenchmarkEnabled(benchmark_class, possible_browser):
@@ -387,6 +388,7 @@ def _GetJsonBenchmarkList(possible_browser, possible_reference_browser,
def main(environment):
+ ps_util.EnableListingStrayProcessesUponExitHook()
# Get the command name from the command line.
if len(sys.argv) > 1 and sys.argv[1] == '--help':
sys.argv[1] = 'help'
« no previous file with comments | « no previous file | tools/telemetry/telemetry/internal/util/global_hooks.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698