Created attachment 6484 [details] Patch to add static probes to the runtime linker Bug to track the addition of static probes to the runtime linker for 2.17.
Created attachment 6485 [details] Second version of patch Updated patch as per http://sourceware.org/ml/libc-alpha/2012-06/msg00704.html
Created attachment 6548 [details] Third version of patch Updated patch as per http://sourceware.org/ml/libc-alpha/2012-07/msg00242.html
Gary, Given that you're actively working on getting the probes added to the runtime linker I'm assigning this issue to you :-) If you need any help getting your patches reviewed please ping me on libc-alpha@sourceware.org. I appreciates your work in this area.
commit 815e6fa3e010628f77838abec18692cbfeb60809 Author: Gary Benson <gbenson@redhat.com> Date: Thu Jul 26 11:03:35 2012 +0100 Add SystemTap static probes to the runtime linker. [BZ #14298] ChangeLog: 2012-07-27 Gary Benson <gbenson@redhat.com> [BZ #14298] * elf/rtld.c: Include <stap-probe.h>. (dl_main): Added static probes "init_start" and "init_complete". * elf/dl-load.c: Include <stap-probe.h>. (lose): Take new parameter "nsid". Added static probe "map_failed". (_dl_map_object_from_fd): Pass namespace id to lose. Added static probe "map_start". (open_verify): Pass namespace id to lose. * elf/dl-open.c: Include <stap-probe.h>. (dl_open_worker) Added static probes "map_complete", "reloc_start" and "reloc_complete". * elf/dl-close.c: Include <stap-probe.h>. (_dl_close_worker): Added static probes "unmap_start" and "unmap_complete". * elf/rtld-debugger-interface.txt: New file documenting the above.