aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/crash.c
diff options
context:
space:
mode:
authorGravatar Baoquan He <bhe@redhat.com> 2023-12-13 13:57:42 +0800
committerGravatar Andrew Morton <akpm@linux-foundation.org> 2023-12-20 15:02:57 -0800
commita85ee18c7900f001f42082d2fabce4eaf57e655f (patch)
tree785648618754b07cceed7c5c903fafdeb6055e2e /arch/x86/kernel/crash.c
parentkexec_file: add kexec_file flag to control debug printing (diff)
downloadlinux-a85ee18c7900f001f42082d2fabce4eaf57e655f.tar.gz
linux-a85ee18c7900f001f42082d2fabce4eaf57e655f.tar.bz2
linux-a85ee18c7900f001f42082d2fabce4eaf57e655f.zip
kexec_file: print out debugging message if required
Then when specifying '-d' for kexec_file_load interface, loaded locations of kernel/initrd/cmdline etc can be printed out to help debug. Here replace pr_debug() with the newly added kexec_dprintk() in kexec_file loading related codes. And also print out type/start/head of kimage and flags to help debug. Link: https://lkml.kernel.org/r/20231213055747.61826-3-bhe@redhat.com Signed-off-by: Baoquan He <bhe@redhat.com> Cc: Conor Dooley <conor@kernel.org> Cc: Joe Perches <joe@perches.com> Cc: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/x86/kernel/crash.c')
0 files changed, 0 insertions, 0 deletions