$ gdb vmlinux GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from vmlinux... (gdb) disassemble acpi_ns_validate_handle Dump of assembler code for function acpi_ns_validate_handle: 0xffffffff815781cd <+0>: call 0xffffffff81062c40 <__fentry__> 0xffffffff815781d2 <+5>: push %r12 0xffffffff815781d4 <+7>: mov %rdi,%r12 0xffffffff815781d7 <+10>: call 0xffffffff81584969 0xffffffff815781dc <+15>: lea -0x1(%r12),%rax 0xffffffff815781e1 <+20>: cmp $0xfffffffffffffffd,%rax 0xffffffff815781e5 <+24>: jbe 0xffffffff815781f0 0xffffffff815781e7 <+26>: mov 0x189b44a(%rip),%r12 # 0xffffffff82e13638 0xffffffff815781ee <+33>: jmp 0xffffffff815781fb 0xffffffff815781f0 <+35>: cmpb $0xf,0x8(%r12) 0xffffffff815781f6 <+41>: je 0xffffffff815781fb 0xffffffff815781f8 <+43>: xor %r12d,%r12d 0xffffffff815781fb <+46>: mov %r12,%rax 0xffffffff815781fe <+49>: pop %r12 0xffffffff81578200 <+51>: ret End of assembler dump. (gdb) disassemble acpi_ut_track_stack_ptr Dump of assembler code for function acpi_ut_track_stack_ptr: 0xffffffff81584969 <+0>: call 0xffffffff81062c40 <__fentry__> 0xffffffff8158496e <+5>: sub $0x10,%rsp 0xffffffff81584972 <+9>: mov %gs:0x28,%rax 0xffffffff8158497b <+18>: mov %rax,0x8(%rsp) 0xffffffff81584980 <+23>: mov %rsp,%rax 0xffffffff81584983 <+26>: cmp %rax,0x188ec86(%rip) # 0xffffffff82e13610 0xffffffff8158498a <+33>: jbe 0xffffffff81584993 0xffffffff8158498c <+35>: mov %rax,0x188ec7d(%rip) # 0xffffffff82e13610 0xffffffff81584993 <+42>: mov 0x188ec6b(%rip),%eax # 0xffffffff82e13604 0xffffffff81584999 <+48>: cmp 0x188ec69(%rip),%eax # 0xffffffff82e13608 0xffffffff8158499f <+54>: jbe 0xffffffff815849a7 0xffffffff815849a1 <+56>: mov %eax,0x188ec61(%rip) # 0xffffffff82e13608 0xffffffff815849a7 <+62>: mov 0x8(%rsp),%rax 0xffffffff815849ac <+67>: sub %gs:0x28,%rax 0xffffffff815849b5 <+76>: je 0xffffffff815849bc 0xffffffff815849b7 <+78>: call 0xffffffff818c4500 <__stack_chk_fail> 0xffffffff815849bc <+83>: add $0x10,%rsp 0xffffffff815849c0 <+87>: ret End of assembler dump. (gdb)