diff options
author | Hari Bathini <[email protected]> | 2020-07-29 17:13:14 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-07-29 23:47:54 +1000 |
commit | cb350c1f1f867db16725f1bb06be033ece19e998 (patch) | |
tree | 8997d598bfb8be118dbb31ee156189afe8c55aa0 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 1a1cf93c200581c72a3cd521e1e0a1a3b5d0077d (diff) |
powerpc/kexec_file: Prepare elfcore header for crashing kernel
Prepare elf headers for the crashing kernel's core file using
crash_prepare_elf64_headers() and pass on this info to kdump kernel by
updating its command line with elfcorehdr parameter. Also, add
elfcorehdr location to reserve map to avoid it from being stomped on
while booting.
Signed-off-by: Hari Bathini <[email protected]>
Tested-by: Pingfan Liu <[email protected]>
Reviewed-by: Thiago Jung Bauermann <[email protected]>
[mpe: Ensure cmdline is nul terminated]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/159602298855.575379.15819225623219909517.stgit@hbathini
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions