projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: memory and fd leaks in error counter
[lttng-ust.git]
/
liblttng-ust-dl
/
ust_dl.h
diff --git
a/liblttng-ust-dl/ust_dl.h
b/liblttng-ust-dl/ust_dl.h
index b8cfe822b5c48bf3eaa2b2b3fd87981690322445..e43535e22c990637ada7906503e7c16d8137b9b0 100644
(file)
--- a/
liblttng-ust-dl/ust_dl.h
+++ b/
liblttng-ust-dl/ust_dl.h
@@
-31,6
+31,7
@@
extern "C" {
* SOFTWARE.
*/
* SOFTWARE.
*/
+#include <stddef.h>
#include <stdint.h>
#include <unistd.h>
#include <stdint.h>
#include <unistd.h>
@@
-51,6
+52,7
@@
TRACEPOINT_EVENT(lttng_ust_dl, dlopen,
)
)
)
)
+#ifdef HAVE_DLMOPEN
TRACEPOINT_EVENT(lttng_ust_dl, dlmopen,
TP_ARGS(void *, ip, void *, baddr, Lmid_t, nsid,
const char *, path, int, flags,
TRACEPOINT_EVENT(lttng_ust_dl, dlmopen,
TP_ARGS(void *, ip, void *, baddr, Lmid_t, nsid,
const char *, path, int, flags,
@@
-66,6
+68,7
@@
TRACEPOINT_EVENT(lttng_ust_dl, dlmopen,
ctf_integer(uint8_t, has_debug_link, has_debug_link)
)
)
ctf_integer(uint8_t, has_debug_link, has_debug_link)
)
)
+#endif
TRACEPOINT_EVENT(lttng_ust_dl, build_id,
TP_ARGS(
TRACEPOINT_EVENT(lttng_ust_dl, build_id,
TP_ARGS(
This page took
0.022754 seconds
and
4
git commands to generate.