mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-24 08:30:56 +01:00
SERVER-25761 hang_analyzer should use GDB in the mongodb tool chain
This commit is contained in:
parent
831e20161e
commit
2ea868d3c1
@ -271,7 +271,7 @@ class GDBDumper(object):
|
||||
|
||||
def __find_debugger(self):
|
||||
"""Finds the installed debugger"""
|
||||
return find_program('gdb', ['/opt/mongodbtoolchain/bin', '/usr/bin'])
|
||||
return find_program('gdb', ['/opt/mongodbtoolchain/gdb/bin', '/usr/bin'])
|
||||
|
||||
def dump_info(self, pid, process_name, stream, take_dump = False):
|
||||
dbg = self.__find_debugger()
|
||||
|
@ -873,7 +873,7 @@ timeout:
|
||||
set -o verbose
|
||||
hang_analyzer_option="-p ${hang_analyzer_processes|dbtest,java,mongo,mongod,mongos,python,_test}"
|
||||
echo "Calling the hang analyzer: python buildscripts/hang_analyzer.py $hang_analyzer_option"
|
||||
PATH=/opt/mongodbtoolchain/bin:$PATH python buildscripts/hang_analyzer.py $hang_analyzer_option
|
||||
PATH=/opt/mongodbtoolchain/gdb/bin:$PATH python buildscripts/hang_analyzer.py $hang_analyzer_option
|
||||
|
||||
#######################################
|
||||
# Tasks #
|
||||
|
Loading…
Reference in New Issue
Block a user