Your Location is: Home > Linux

How to locate the souce code of this kind of item, vfs_unlink.cold+0x1d/0x55, in linux kernel?

From: Switzerland View: 1986 codingjin 


I compiled the linux kernel, 5.10.7 with CONFIG_DEBUG_INFO=y. Then from dump_stack() inside the kernel, then inside gdb, l *do_unlinkat+0x1b0 can locate the source code, but l *vfs_unlink.cold+0x1d doesn't work. How could I locate the source code for vfs_unlink.cold+0x1d/0x55?

dump_stack() output

Best answer