After raising the loglevel to 7, enter ” whatis sysdump_panic_event“ and an error will be
reported.
crash_arm64_v8.0.4++> sym sysdump_panic_event
ffffffxxxx384 (t) sysdump_panic_event [xxxx]
crash_arm64_v8.0.4++> whatis sysdump_panic_event
GNU_PASS_THROUGH: returned via gdb_error_hook (1 buffer in use)
whatis: gdb request failed: whatis sysdump_panic_event
crash_arm64_v8.0.4++> gdb info line sysdump_panic_event
GNU_PASS_THROUGH: returned via gdb_error_hook (1 buffer in use)
gdb: gdb request failed: info line sysdump_panic_event
crash_arm64_v8.0.4++> dis -l sysdump_panic_event
GNU_RESOLVE_TEXT_ADDR: returned via gdb_error_hook (1 buffer in use)
GNU_GET_FUNCTION_RANGE: returned via gdb_error_hook (1 buffer in use)
0xffffffxxx <sysdump_panic_event>: <readmem: ffffffc07b0aa380, KVADDR,
"gdb_readmem_callback", 64, (ROE), 55579b55293c>
0xffffffxxx <sysdump_panic_event>: addr: ffffffc07b0aa380 paddr: 10286c380 cnt:
64>
mov x9, x30
0xffffffxxx <sysdump_panic_event+4>: nop
0xffffffxxx <sysdump_panic_event+8>: str x30, [x18], #8
0xffffffxxx <sysdump_panic_event+12>: sub sp, sp, #0xa0
0xffffffxxx <sysdump_panic_event+16>: stp x29, x30, [sp, #96]
0xffffffxxx <sysdump_panic_event+20>: stp x24, x23, [sp, #112]
0xffffffxxx <sysdump_panic_event+24>: stp x22, x21, [sp, #128]
When using the default loglevel, no error will be reported, but the number of source code
lines cannot be seen.
crash_arm64_v8.0.4++> sym sysdump_panic_event
ffffffxxxx84 (t) sysdump_panic_event [xxxx]
crash_arm64_v8.0.4++> whatis sysdump_panic_event
int sysdump_panic_event(struct notifier_block *, unsigned long, void *);
crash_arm64_v8.0.4++> gdb info line sysdump_panic_event
Line 759 of "drivers/xxxx.c" starts at address 0x4a74 and ends at 0x4a9c.
crash_arm64_v8.0.4++> dis -l sysdump_panic_event
0xffffffxxx <sysdump_panic_event>: mov x9, x30
0xffffffxxx <sysdump_panic_event+4>: nop
0xffffffxxx <sysdump_panic_event+8>: str x30, [x18], #8
0xffffffxxx <sysdump_panic_event+12>: sub sp, sp, #0xa0
0xffffffxxx <sysdump_panic_event+16>: stp x29, x30, [sp, #96]
0xffffffxxx <sysdump_panic_event+20>: stp x24, x23, [sp, #112]
0xffffffxxx <sysdump_panic_event+24>: stp x22, x21, [sp, #128]
0xffffffxxx <sysdump_panic_event+28>: stp x20, x19, [sp, #144]
0xffffffxxx <sysdump_panic_event+32>: add x29, sp, #0x60
0xffffffxxx <sysdump_panic_event+36>: mrs x8, sp_el0
0xffffffxxx <sysdump_panic_event+40>: adrp x21, 0xffffffc0822d8000
<__per_cpu_load>
0xffffffxxx <sysdump_panic_event+44>: add x21, x21, #0x8
0xffffffxxx <sysdump_panic_event+48>: ldr x8, [x8, #1440]