Troubles with debug info, using systemtap on debian.

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


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 probe module("snd").function("snd_open") and
kprobe.module("snd").function("snd_open").

Did you try to remove ~/.systemtap?
-------------- 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/10e865c3/attachment.sig>


More information about the Systemtap mailing list