0
0
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:
Mark Benvenuto 2016-08-24 13:12:21 -04:00
parent 831e20161e
commit 2ea868d3c1
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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 #