aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJames Morse <[email protected]>2018-09-10 14:20:54 +0000
committerWill Deacon <[email protected]>2018-09-11 10:08:49 +0000
commit84c57dbd3c480fb2730c393a2cef994ddb4f42cc (patch)
tree2cb96441500feb8c3740cb7f754d66a03929d826 /tools/perf/scripts/python/sched-migration.py
parentarm64: jump_label.h: use asm_volatile_goto macro instead of "asm goto" (diff)
downloadkernel-84c57dbd3c480fb2730c393a2cef994ddb4f42cc.tar.gz
kernel-84c57dbd3c480fb2730c393a2cef994ddb4f42cc.zip
arm64: kernel: arch_crash_save_vmcoreinfo() should depend on CONFIG_CRASH_CORE
Since commit 23c85094fe18 ("proc/kcore: add vmcoreinfo note to /proc/kcore") the kernel has exported the vmcoreinfo PT_NOTE on /proc/kcore as well as /proc/vmcore. arm64 only exposes it's additional arch information via arch_crash_save_vmcoreinfo() if built with CONFIG_KEXEC, as kdump was previously the only user of vmcoreinfo. Move this weak function to a separate file that is built at the same time as its caller in kernel/crash_core.c. This ensures values like 'kimage_voffset' are always present in the vmcoreinfo PT_NOTE. CC: AKASHI Takahiro <[email protected]> Reviewed-by: Bhupesh Sharma <[email protected]> Signed-off-by: James Morse <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions