dwarf info in modules.

Frank Ch. Eigler fche@redhat.com
Mon Sep 12 15:38:00 GMT 2005


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



More information about the Systemtap mailing list