[Ltrace-devel] [PATCH 1/2] libdl, libunwind, more print controls, doc updates

Joe Damato ice799 at gmail.com
Thu Nov 12 08:39:55 UTC 2009


Hi -

Sorry if this message gets delivered twice. Originally I included one
large patch, but mailman wants moderator approval of large messages.
Don't know if moderator is still around, so I'm breaking my patch up
into 2 chunks and re-sending.

This patch contains all the changes I've made to ltrace recently. This
patch applies to the commit: "    New version (0.5.3)" (SHA:
163765561621a9127cee3243dd94011e70a2c580).

This patch includes:
- fast libdl support (older version of my patch had serious
performance problems), (extended -x) (CAVEAT: doesn't support
unloading libs via libdl)
- libunwind support to show backtraces of where library functions were
called from (-w) (CAVEAT: x86 and x86_64 only for now)
- a switch to silence signal printing (-b)
- a switch to *not* trace PLT entries (stop all the libc output)  (-g)
- updated man page

I don't have much experience with autoconf, so the configure changes
in this patch might be a little shaky. I tested it on an i686 VM and
on a x86_64 box and it seemed to work.

I hope this patch will be useful to some one else out there.

Juan: Please let me know if there is anything I can do to help get
this patch (or other patches) applied to mainline.

Thanks,
Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ltrace-full1.patch
Type: application/octet-stream
Size: 16075 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20091112/5fb567db/attachment.obj>


More information about the Ltrace-devel mailing list