xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/kexec/kexec-tools/kdump.conf (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#the kdump kernel version string.
2*4882a593Smuzhiyun#KDUMP_KVER="`uname -r`"
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun#this will be passed to the kdump kernel as kdump kernel command line
5*4882a593Smuzhiyun#KDUMP_CMDLINE="`cat /proc/cmdline`"
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun#the kernel image for kdump
8*4882a593Smuzhiyun#KDUMP_KIMAGE="/boot/bzImage-${KDUMP_KVER}"
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun#Where to save the vmcore
11*4882a593Smuzhiyun#KDUMP_VMCORE_PATH="/var/crash/`date +"%Y-%m-%d"`"
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun#the arguments to makedumpfile
14*4882a593SmuzhiyunMAKEDUMPFILE_ARGS="--dump-dmesg -x /boot/vmlinux-`uname -r`"
15