diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2017-04-21 11:08:00 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2017-04-21 11:08:00 -0400 |
commit | c2cb98f46c70772d054ab0885720b666ae318cf0 (patch) | |
tree | 4d45625e251da585fe1c0d5a4419db7311241f3d /buildscripts/gdb | |
parent | ac6f185017f76cc7124373e97a2c55291d5c8956 (diff) | |
download | mongo-c2cb98f46c70772d054ab0885720b666ae318cf0.tar.gz |
SERVER-28348 Add cycle detect message for detecting single-process deadlocks involving LockManager locks and/or pthread_mutexes
Diffstat (limited to 'buildscripts/gdb')
-rw-r--r-- | buildscripts/gdb/mongo_lock.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/buildscripts/gdb/mongo_lock.py b/buildscripts/gdb/mongo_lock.py index b13e5501bbd..04b76b315b1 100644 --- a/buildscripts/gdb/mongo_lock.py +++ b/buildscripts/gdb/mongo_lock.py @@ -347,6 +347,7 @@ class MongoDBWaitsForGraph(gdb.Command): print("Saving digraph to %s" % file) with open(file, 'w') as f: f.write(graph.to_graph(nodes=cycle_nodes, message=cycle_message)) + print(cycle_message.split("# ")[1]) else: print(graph.to_graph(nodes=cycle_nodes, message=cycle_message)) |