Hi - No responses =C but I'll keep sending patches until some one says "stop" =]
I've attached a cleaned up patch of libdl support, this works (and was tested) on both x86 AND x86_64. This still has the caveats listed below (namely doesn't know about dlsym events that occur after it attaches), but the code has been split into architecture dependent subdirs, and is quite a bit cleaner than the previous iterations. I hope to be done with full libdl support in the next few days, time permitting. As always questions, comments, suggestions, gripes, and grievances are all welcome. Thanks, Joe On Sun, Sep 13, 2009 at 12:49 AM, Joe Damato <[email protected]> wrote: > Hi -- > > Not sure if anyone is reading these emails, but I've cleaned up the > first patch a bit and made it easier to use. A new patch which > applies against SHA 163765561621a9127cee3243dd94011e70a2c580 (New > version (0.5.3)) is attached to this email. > > This patch cleans up libdl support and extends the -x flag a bit so > that it can be used to trace specific libdl loaded symbols, without > the need of -l. -l was turning out to be a bit painful. > > I'm still working on adding support for attaching to a process before > libdl is used. So expect to see another patch to fully support libdl > in the very near future. > > A sample usage, against a program which uses libdl to load > libmysqlclient might be: > > ltrace -x mysql_real_query -x mysql_real_connect -p <pid> > > Questions, comments, and suggestions are welcome! > > Thanks, > Joe >
ltrace.patch
Description: Binary data
_______________________________________________ Ltrace-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/ltrace-devel
