lttng-ust(3): sort ctf_*() macro parameter definitions
[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"]
38|==============================================================
39| Field name | Description
40| `baddr` | Base address of loaded library
41| `memsz` | Size of loaded library in memory
6488ae4c 42| `path` | Path to loaded library file
4ddbd0b7
PP
43|==============================================================
44
45`lttng_ust_dl:dlclose`::
46 Emitted when man:dlclose(3) is called.
47+
48Fields:
49+
50[options="header"]
51|==============================================================
52| Field name | Description
53| `baddr` | Base address of loaded library
54|==============================================================
55
56`lttng_ust_dl:debug_link`::
57 Emitted when debug link information is found when loading a library
58 with man:dlopen(3). See
59 https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html[Debugging Information in Separate Files]
60 for more information about debug links.
61+
62Fields:
63+
64[options="header"]
65|==============================================================
66| Field name | Description
67| `baddr` | Base address of loaded library
68| `filename` | Debug link file name
69| `crc` | Debug link file's CRC
70|==============================================================
71
72`lttng_ust_dl:build_id`::
73 Emitted when a build ID is found when loading a library
74 with man:dlopen(3). See
75 https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html[Debugging Information in Separate Files]
76 for more information about build IDs.
77+
78Fields:
79+
80[options="header"]
81|==============================================================
82| Field name | Description
83| `baddr` | Base address of loaded library
84| `build_id` | Build ID
85|==============================================================
86
87
88include::common-footer.txt[]
89
90include::common-copyrights.txt[]
91
92include::common-authors.txt[]
93
94
95SEE ALSO
96--------
97man:lttng-ust(3),
98man:dlopen(3),
99man:lttng(1)
This page took 0.026723 seconds and 4 git commands to generate.