Open sensarliar opened 1 year ago
Is the kernel self-built? The debuginfo (vmlinux) should have the source file paths, so I think you need to install the source files there, if it's a different machine from one where the kernel was built.
# objdump -d -l vmlinux | less
...
ffffffff81000040 <secondary_startup_64>:
secondary_startup_64():
/home/kernel/linux-5.18/arch/x86/kernel/head_64.S:118
ffffffff81000040: e8 db 00 00 00 callq ffffffff81000120 <verify_cpu>
...
it's cross compile. I have tried to mkdir the directory as "dis -l " output. and link to the dir the kernel was built. However, "dis -s xx" did not work
crash_arm64> dis -s __synchronize_srcu FILE: (unknown) LINE: (unknown)
dis: __synchronize_srcu: source code is not available