X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=doc%2Fman%2Flttng-ust-dl.3.txt;h=bc7aa9ebbb640f9ef0662649bad0b5e2a0e5c8f3;hb=d1194248c71fd4767382b4ea40dfa1cea3db1fd7;hp=392e5cb7e6751a5bdfcb9ebd4734092747dfe223;hpb=6488ae4ce8308349a872aa2bd744103608464cc5;p=lttng-ust.git diff --git a/doc/man/lttng-ust-dl.3.txt b/doc/man/lttng-ust-dl.3.txt index 392e5cb7..bc7aa9eb 100644 --- a/doc/man/lttng-ust-dl.3.txt +++ b/doc/man/lttng-ust-dl.3.txt @@ -27,7 +27,17 @@ man:lttng-ust(3)). See man:lttng(1) to learn more about how to control LTTng tracing sessions. -The following LTTng-UST events are available when using this library: +IMPORTANT: This LTTng-UST helper can also emit _shared library +load/unload_ events (see _Shared library load/unload tracking_ in +man:lttng-ust(3)). You should :not: use the event records generated by +this LTTng-UST helper (prefixed with `lttng_ust_dl:`) to track the +loading and unloading of shared libraries, especially in situations +where a dynamically loaded library loads its own dependencies. Instead, +do preload `liblttng-ust-dl.so`, but use the shared library load/unload +event records, which are more reliable, for your tracking analysis. + +The following LTTng-UST events are available when using this library. + `lttng_ust_dl:dlopen`:: Emitted when man:dlopen(3) is called. @@ -35,12 +45,18 @@ The following LTTng-UST events are available when using this library: Fields: + [options="header"] -|============================================================== -| Field name | Description -| `baddr` | Base address of loaded library -| `memsz` | Size of loaded library in memory -| `path` | Path to loaded library file -|============================================================== +|=== +|Field name |Description + +|`baddr` +|Base address of loaded library. + +|`memsz` +|Size of loaded library in memory. + +|`path` +|Path to loaded library file. +|=== `lttng_ust_dl:dlclose`:: Emitted when man:dlclose(3) is called. @@ -48,10 +64,12 @@ Fields: Fields: + [options="header"] -|============================================================== -| Field name | Description -| `baddr` | Base address of loaded library -|============================================================== +|=== +|Field name |Description + +|`baddr` +|Base address of loaded library. +|=== `lttng_ust_dl:debug_link`:: Emitted when debug link information is found when loading a library @@ -62,12 +80,18 @@ Fields: Fields: + [options="header"] -|============================================================== -| Field name | Description -| `baddr` | Base address of loaded library -| `filename` | Debug link file name -| `crc` | Debug link file's CRC -|============================================================== +|=== +|Field name |Description + +|`baddr` +|Base address of loaded library. + +|`filename` +|Debug link file name. + +|`crc` +|Debug link file's CRC. +|=== `lttng_ust_dl:build_id`:: Emitted when a build ID is found when loading a library @@ -78,11 +102,15 @@ Fields: Fields: + [options="header"] -|============================================================== -| Field name | Description -| `baddr` | Base address of loaded library -| `build_id` | Build ID -|============================================================== +|=== +|Field name |Description + +|`baddr` +|Base address of loaded library. + +|`build_id` +|Build ID. +|=== include::common-footer.txt[]