Troubles with debug info, using systemtap on debian.

Eugeniy Meshcheryakov eugen@debian.org
Wed Nov 11 09:50:00 GMT 2009


11 листопада 2009 о 10:41 +0100 Eugeniy Meshcheryakov написав(-ла):
> Hello,
> 
> 10 листопада 2009 о 13:38 -0500 James Y Knight написав(-ла):
> > Unless something *further* strange is going on in my environment,
> > anyone should be able to reproduce by:
> > 1) removing the symlink to your kernel build dir (rm /lib/modules/
> > $VERS/build): renaming is not enough, systemtap still finds it!
> > 2) ensuring that the debug info in /usr/lib/debug is stripped of
> > code with objcopy --only-keep-debug.
> > 3) ensuring the kernel modules in /lib/modules/$VERS are stripped of
> > debug info.
> This does not work at all. With DWARF probes stap does not find debug
> info (and does not segfault). With dwarfless probes stap still requires
> build directory (I guess to build module?) and does not segfault.
> 
I tried to symlink snd.ko to snd.ko.debug and can reproduce the bug now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/systemtap/attachments/20091111/e701c104/attachment.sig>


More information about the Systemtap mailing list