This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH, take 3] Add static probes to runtime linker


Hi all,

Gary Benson wrote:
> This patch adds a number of static probes to the runtime linker,
> allowing debuggers to more finely control where they stop and
> passing more information so as to allow incremental loading of the
> list of loaded libraries, and also to allow debugging of programs
> that use dlmopen.

I've updated the GDB side of this patch series [1, 2, 3, 4, 5, 6].
With the latest patches GDB can now debug programs that use dlmopen.
I have also done some simple speed tests of the incremental library
list loading, starting GDB on a little program that dlopens a load
of libraries:

  no of solibs         100     250     500     1000    2000    5000
  -----------------------------------------------------------------
  standard interface     1       3       9       35     141     942
  probes interface       0       0       1        4      14      89
  (times in seconds)

As you can see, GDB is roughly ten times faster when using the new
interface.

Roland, do you think this patch is able to be committed, or did you
want to wait for further comment?  And, is there anything else you
need from me?

Thanks,
Gary

[1] http://www.cygwin.com/ml/gdb-patches/2012-07/msg00330.html
[2] http://www.cygwin.com/ml/gdb-patches/2012-07/msg00332.html
[3] http://www.cygwin.com/ml/gdb-patches/2012-07/msg00331.html
[4] http://www.cygwin.com/ml/gdb-patches/2012-07/msg00329.html
[5] http://www.cygwin.com/ml/gdb-patches/2012-07/msg00333.html
[6] http://www.cygwin.com/ml/gdb-patches/2012-07/msg00342.html

-- 
http://gbenson.net/


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