doc/man: reorganize source for tables
[lttng-ust.git] / doc / man / lttng-ust-dl.3.txt
CommitLineData
4ddbd0b7
PP
1lttng-ust-dl(3)
2===============
3:object-type: library
4
5
6NAME
7----
8lttng-ust-dl - Dynamic linker tracing (LTTng-UST helper)
9
10
11SYNOPSIS
12--------
13Launch your application by preloading `liblttng-ust-dl.so`:
14
15[role="term"]
16[verse]
17*LD_PRELOAD=liblttng-ust-dl.so* my-app
18
19
20DESCRIPTION
21-----------
22When the `liblttng-ust-dl.so` library is preloaded before a given
23application starts, it causes all calls to man:dlopen(3) and
24man:dlclose(3) in said application to be traced with LTTng-UST (see
25man:lttng-ust(3)).
26
27See man:lttng(1) to learn more about how to control LTTng tracing
28sessions.
29
30The following LTTng-UST events are available when using this library:
31
32`lttng_ust_dl:dlopen`::
33 Emitted when man:dlopen(3) is called.
34+
35Fields:
36+
37[options="header"]
8902dadc
PP
38|===
39|Field name |Description
40
41|`baddr`
42|Base address of loaded library
43
44|`memsz`
45|Size of loaded library in memory
46
47|`path`
48|Path to loaded library file
49|===
4ddbd0b7
PP
50
51`lttng_ust_dl:dlclose`::
52 Emitted when man:dlclose(3) is called.
53+
54Fields:
55+
56[options="header"]
8902dadc
PP
57|===
58|Field name |Description
59
60|`baddr`
61|Base address of loaded library
62|===
4ddbd0b7
PP
63
64`lttng_ust_dl:debug_link`::
65 Emitted when debug link information is found when loading a library
66 with man:dlopen(3). See
67 https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html[Debugging Information in Separate Files]
68 for more information about debug links.
69+
70Fields:
71+
72[options="header"]
8902dadc
PP
73|===
74|Field name |Description
75
76|`baddr`
77|Base address of loaded library
78
79|`filename`
80|Debug link file name
81
82|`crc`
83|Debug link file's CRC
84|===
4ddbd0b7
PP
85
86`lttng_ust_dl:build_id`::
87 Emitted when a build ID is found when loading a library
88 with man:dlopen(3). See
89 https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html[Debugging Information in Separate Files]
90 for more information about build IDs.
91+
92Fields:
93+
94[options="header"]
8902dadc
PP
95|===
96|Field name |Description
97
98|`baddr`
99|Base address of loaded library
100
101|`build_id`
102|Build ID
103|===
4ddbd0b7
PP
104
105
106include::common-footer.txt[]
107
108include::common-copyrights.txt[]
109
110include::common-authors.txt[]
111
112
113SEE ALSO
114--------
115man:lttng-ust(3),
116man:dlopen(3),
117man:lttng(1)
This page took 0.030792 seconds and 4 git commands to generate.