Add rd.memdebug in kdump module

Description:
   Currently we only added memdebug code before different dracut
hooks ie. pre-udev pre-pivot etc. Add memdebug in kdump.sh before
capturing vmcore is also good for debugging.

solution:
   Add make_trace_mem before saving vmcore.

Signed-off-by: arthur <zzou@redhat.com>
Acked-by: Dave Young <dyoung@redhat.com>
This commit is contained in:
arthur 2013-11-19 15:37:53 +08:00 committed by WANG Chao
parent 376a899b09
commit ef9f97dcad
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ if [ $? -ne 0 ]; then
echo "kdump: kdump_pre script exited with non-zero status!"
do_final_action
fi
make_trace_mem "kdump saving vmcore" '1:shortmem' '2+:mem' '3+:slab'
do_dump
DUMP_RETVAL=$?