This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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] |
* dwflpp.cxx (iterate_over_libraries): New. Just calls iterate_over_libraries_dynamic with the Dwfl_Module.
(iterate_over_libraries_dynamic): Iterate through SHT_DYNAMIC for the Dwfl_Module. Save DT_RPATH/DT_RUNPATH for library search. DT_NEEDED/DT_SONAME are potentially SOs to search. Insure we haven't already seen it, call the callback, then find the SOs that this so references via iterate_over_libraries_module. The system default library paths are explicitly appended to runpath.
(iterate_over_libraries_module): Get the Dwfl_Module for this SO via dwfl_getmodules which just callbacks iterate_over_libraries_dynamic.
* util.cxx (find_executable): Add rpath and runpath default parameters. Search: 1. LD_RPATH 2. LD_LIBRARY_PATH 3. LD_RUNPATH 4. system libraries
* tapsets.cxx (base_query): If this is a library then save the executable path. (query_module): For a library, call query_library_callback via iterate_over_libraries. (query_library_callback): New. Calls query_library. (query_library): Substitute the library name into the chain then derive_probes.
Attachment:
,git.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |