This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: dwarf info in modules.
Tigran Aivazian <tigran_aivazian@symantec.com> writes:
> upgrading elfutils to 0.115 solved the "no dwarf info found" but now I
> get an oops:
> [...]
> 0x100497fbdc8 0xffffffff801229da arch_copy_kprobe+0x16
> (0xffffffffa01cdc20, 0x7fbffff314, 0x100497fbe84, 0x4, 0x100497fbf48)
> [...]
I wonder if this is because the init function is in a special section
(.init.text) of the .ko binary, which is unloaded/unmapped after
initialization (in sys_init_module). By the time systemtap asks to
insert a kprobe, there would be no "there" there.
I guess one possible fix would be to have the translator (or its
elfutils servant) refuse to resolve symbols from such short-lived
.init type sections. I'll open a bug to that effect.
- FChE