Validate the presence of dlmopen at configure time
[lttng-ust.git] / liblttng-ust-dl / ust_dl.h
index b8cfe822b5c48bf3eaa2b2b3fd87981690322445..afa8e842ac587b0f55fd1be779bc5f98ea09432b 100644 (file)
@@ -51,6 +51,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,
@@ -66,6 +67,7 @@ TRACEPOINT_EVENT(lttng_ust_dl, dlmopen,
                ctf_integer(uint8_t, has_debug_link, has_debug_link)
        )
 )
+#endif
 
 TRACEPOINT_EVENT(lttng_ust_dl, build_id,
        TP_ARGS(
This page took 0.023163 seconds and 4 git commands to generate.