projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: use LIBDL/LIBC_DL to select either libdl or libc
[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..c8a069569faf9959bb858dc0da5e34c541894ac8 100644
(file)
--- a/
liblttng-ust-dl/ust_dl.h
+++ b/
liblttng-ust-dl/ust_dl.h
@@
-33,6
+33,7
@@
extern "C" {
#include <stdint.h>
#include <unistd.h>
#include <stdint.h>
#include <unistd.h>
+#include <config.h>
#define LTTNG_UST_DL_PROVIDER
#include <lttng/tracepoint.h>
#define LTTNG_UST_DL_PROVIDER
#include <lttng/tracepoint.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.023454 seconds
and
4
git commands to generate.