summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEddie Louie <eddie.louie@mongodb.com>2017-02-21 16:02:35 -0500
committerEddie Louie <eddie.louie@mongodb.com>2017-04-13 14:23:26 -0400
commit7fadeeec4d0aa7e31444df4b68084238178f2e31 (patch)
tree47df8db1ee7042b967f69d918647638f68b9f12b
parenta4d48891c837222891489853e55e6e427e90d560 (diff)
downloadmongo-7fadeeec4d0aa7e31444df4b68084238178f2e31.tar.gz
SERVER-27875 Dump locked critical sections on Windows in hang_analyzer.py
(cherry picked from commit baedb6631eeed584be827d3b430ecc0bd0a59654)
-rwxr-xr-xbuildscripts/hang_analyzer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildscripts/hang_analyzer.py b/buildscripts/hang_analyzer.py
index c44c816d93a..2748a100f57 100755
--- a/buildscripts/hang_analyzer.py
+++ b/buildscripts/hang_analyzer.py
@@ -130,6 +130,7 @@ class WindowsDumper(object):
"!peb", # Dump current exe, & environment variables
"lm", # Dump loaded modules
"~* kp 100", # Dump All Threads with function arguments
+ "!cs -l", # Dump all locked critical sections
".dump /ma /u dump_" + process_name + "." + str(pid) + "." + self.get_dump_ext() if take_dump else "",
# Dump to file, dump_<process name>_<time stamp>_<pid in hex>.<pid>.mdmp
".detach", # Detach