readelf -s vmlinux |grep FILE
76: 00000000 0 FILE LOCAL DEFAULT ABS process_32.c
80: 00000000 0 FILE LOCAL DEFAULT ABS signal.c
119: 00000000 0 FILE LOCAL DEFAULT ABS traps.c
129: 00000000 0 FILE LOCAL DEFAULT ABS irq.c
136: 00000000 0 FILE LOCAL DEFAULT ABS irq_32.c
147: 00000000 0 FILE LOCAL DEFAULT ABS dumpstack_32.c
151: 00000000 0 FILE LOCAL DEFAULT ABS time.c
158: 00000000 0 FILE LOCAL DEFAULT ABS ioport.c
159: 00000000 0 FILE LOCAL DEFAULT ABS ldt.c
164: 00000000 0 FILE LOCAL DEFAULT ABS dumpstack.c
190: 00000000 0 FILE LOCAL DEFAULT ABS nmi.c
208: 00000000 0 FILE LOCAL DEFAULT ABS setup.c
236: 00000000 0 FILE LOCAL DEFAULT ABS x86_init.c
244: 00000000 0 FILE LOCAL DEFAULT ABS i8259.c
268: 00000000 0 FILE LOCAL DEFAULT ABS irqinit.c
271: 00000000 0 FILE LOCAL DEFAULT ABS jump_label.c
272: 00000000 0 FILE LOCAL DEFAULT ABS irq_work.c
273: 00000000 0 FILE LOCAL DEFAULT ABS probe_roms.c
289: 00000000 0 FILE LOCAL DEFAULT ABS sys_i386_32.c
290: 00000000 0 FILE LOCAL DEFAULT ABS i386_ksyms_32.c
327: 00000000 0 FILE LOCAL DEFAULT ABS syscall_32.c
328: 00000000 0 FILE LOCAL DEFAULT ABS bootflag.c
331: 00000000 0 FILE LOCAL DEFAULT ABS e820.c
356: 00000000 0 FILE LOCAL DEFAULT ABS pci-dma.c
378: 00000000 0 FILE LOCAL DEFAULT ABS quirks.c
426: 00000000 0 FILE LOCAL DEFAULT ABS topology.c
436: 00000000 0 FILE LOCAL DEFAULT ABS kdebugfs.c
442: 00000000 0 FILE LOCAL DEFAULT ABS alternative.c
478: 00000000 0 FILE LOCAL DEFAULT ABS i8253.c
481: 00000000 0 FILE LOCAL DEFAULT ABS pci-nommu.c
487: 00000000 0 FILE LOCAL DEFAULT ABS hw_breakpoint.c
502: 00000000 0 FILE LOCAL DEFAULT ABS tsc.c
548: 00000000 0 FILE LOCAL DEFAULT ABS io_delay.c
558: 00000000 0 FILE LOCAL DEFAULT ABS rtc.c
581: 00000000 0 FILE LOCAL DEFAULT ABS pci-iommu_table.c
582: 00000000 0 FILE LOCAL DEFAULT ABS resource.c
583: 00000000 0 FILE LOCAL DEFAULT ABS trampoline.c
589: 00000000 0 FILE LOCAL DEFAULT ABS process.c
编译路径
readelf main --debug |grep _dir