diff options
author | Mike Grundy <michael.grundy@10gen.com> | 2016-01-26 17:05:54 -0500 |
---|---|---|
committer | Mike Grundy <michael.grundy@10gen.com> | 2016-01-29 14:05:48 -0500 |
commit | df9b5b55f27fd377c25ea52886867ca454c7ff09 (patch) | |
tree | fa9909ec40dded14be0ffa875ce666837aa9af9a /buildscripts/hang_analyzer.py | |
parent | 06bd28f354ec36227cd085660fee35c3f8a8543d (diff) | |
download | mongo-df9b5b55f27fd377c25ea52886867ca454c7ff09.tar.gz |
SERVER-22314 Fix the detection of Python processes in the hang analyzer script
Diffstat (limited to 'buildscripts/hang_analyzer.py')
-rwxr-xr-x | buildscripts/hang_analyzer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/hang_analyzer.py b/buildscripts/hang_analyzer.py index a2c0aa32e04..c1bb9d02078 100755 --- a/buildscripts/hang_analyzer.py +++ b/buildscripts/hang_analyzer.py @@ -432,11 +432,11 @@ def main(): sys.stdout.write("Ignoring process %d of %s\n" % (process[0], process[1])) else: # Dump all other processes first since signaling the python script interrupts it - for process in [a for a in processes if a[1] != "python"]: + for process in [a for a in processes if not a[1].startswith("python")]: sys.stdout.write("Dumping process %d of %s\n" % (process[0], process[1])) dbg.dump_info(process[0], sys.stdout) - for process in [a for a in processes if a[1] == "python"]: + for process in [a for a in processes if a[1].startswith("python")]: signal_process(process[0]) dbg.dump_info(process[0], sys.stdout) |