This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: How to debug what I am doing wrong?
- From: Roland McGrath <roland at redhat dot com>
- To: "Theodore Ts'o" <tytso at mit dot edu>
- Cc: systemtap at sourceware dot org
- Date: Thu, 17 Jul 2008 15:00:16 -0700 (PDT)
- Subject: Re: How to debug what I am doing wrong?
- References: <E1KJacT-0007Ft-UY@closure.thunk.org>
If you built systemtap against installed elfutils libraries,
you can use some installed eu-* programs to test them too.
e.g. try eu-unstrip -n -K ext4dev
If that behaves differently, then it might not be a library problem. If it
also fails to find the debug file, then it is probably a library problem.
You can try strace -eopen or other such debugging to see what files it's
trying to open before it gives up. If it finds the right file and then
rejects it, that tells us something else.
Another thing to try is eu-unstrip -n -e /lib/modules/.../ext4dev.ko
That will indicate whether the library thought the debug file was OK
for the generic file case where finding it should always be simple.
Thanks,
Roland