autotest: backtrace all threads of core dumps
Change-Id: I709d0d9fb674e1276124290113d52695f2679d90 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/364326 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
fc6e9354ca
commit
e889c6e715
@ -144,7 +144,7 @@ function process_core() {
|
|||||||
echo "exe for $core is $exe"
|
echo "exe for $core is $exe"
|
||||||
if [[ ! -z "$exe" ]]; then
|
if [[ ! -z "$exe" ]]; then
|
||||||
if hash gdb; then
|
if hash gdb; then
|
||||||
gdb -batch -ex "bt full" $exe $core
|
gdb -batch -ex "thread apply all bt full" $exe $core
|
||||||
fi
|
fi
|
||||||
cp $exe $output_dir
|
cp $exe $output_dir
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user