This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Troubles with debug info, using systemtap on debian.


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?

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]