Launch your application with:
This LD_PRELOAD library causes all calls to dlopen and dlclose in the application to be traced with LTTng. In addition to loading this library, enabling this tracing requires the following two events to be enabled: "ust_baddr:push" and "ust_baddr:pop".
The events have the following detailed definitions:
This event is used to trace dlopen calls. The base address (where the dynamic linker has placed the shared object) is recorded in the "baddr" field. The path to the shared object gets recorded in the "sopath" field (as string). The file size of the loaded object (in bytes) is recorded to the "size" field and its time of last modification (in seconds since Epoch) is recorded in the "mtime" field.
This event is used to trace dlclose calls. The base address of the shared object that got closed is recorded in the "baddr" field.
If you encounter any issues or usability problem, please report it on our mailing list <email@example.com> to help improve this project.
liblttng-ust is distributed under the GNU Lesser General Public License version 2.1. The headers are distributed under the MIT license.
See http://lttng.org for more information on the LTTng project.
Mailing list for support and development: <firstname.lastname@example.org>.
You can find us on IRC server irc.oftc.net (OFTC) in #lttng.