summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2017-03-16 14:39:09 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2017-03-16 14:39:09 -0400
commit5fe822f53e4bb28e15af2541c0ca931fa05a0e20 (patch)
tree2a6645be6030f990bfd946afc14c65ae773ff68b /.gdbinit
parent38a2af996ae67f3c65194ea38a2d6e3a64682839 (diff)
downloadmongo-5fe822f53e4bb28e15af2541c0ca931fa05a0e20.tar.gz
SERVER-27874 Display locks and generate digraph for threads using LockManager locks and/or pthread_mutexes
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index d82d81f02ba..66d56149410 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -2,5 +2,7 @@
set python print-stack full
# Load the mongodb pretty printers
-#
source buildscripts/gdb/mongo.py
+
+# Load the mongodb lock analysis
+source buildscripts/gdb/mongo_lock.py