X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust-dl%2Flttng-ust-dl.c;h=e342fb2d0ed8b85971e13e51f0da19068d66d5eb;hb=88c7c4eacbd4a98ad8e5df341ae2f1223b735194;hp=8470dfa39cf0b5ff221d741687d8fed5aacdccc4;hpb=cbc06a3bd9abe653eaf278cdf4be8bf28dcca267;p=lttng-ust.git diff --git a/src/lib/lttng-ust-dl/lttng-ust-dl.c b/src/lib/lttng-ust-dl/lttng-ust-dl.c index 8470dfa3..e342fb2d 100644 --- a/src/lib/lttng-ust-dl/lttng-ust-dl.c +++ b/src/lib/lttng-ust-dl/lttng-ust-dl.c @@ -26,7 +26,7 @@ /* Include link.h last else it conflicts with ust-dlfcn. */ #include -#define TRACEPOINT_DEFINE +#define LTTNG_UST_TRACEPOINT_DEFINE #include "ust_dl.h" static void *(*__lttng_ust_plibc_dlopen)(const char *filename, int flags); @@ -207,7 +207,7 @@ void *dlopen(const char *filename, int flags) void *handle; handle = _lttng_ust_dl_libc_dlopen(filename, flags); - if (__tracepoint_ptrs_registered && handle) { + if (lttng_ust_tracepoint_ptrs_registered && handle) { struct link_map *p = NULL; int ret; @@ -227,7 +227,7 @@ void *dlmopen(Lmid_t nsid, const char *filename, int flags) void *handle; handle = _lttng_ust_dl_libc_dlmopen(nsid, filename, flags); - if (__tracepoint_ptrs_registered && handle) { + if (lttng_ust_tracepoint_ptrs_registered && handle) { struct link_map *p = NULL; int ret; @@ -248,7 +248,7 @@ int dlclose(void *handle) { int ret; - if (__tracepoint_ptrs_registered) { + if (lttng_ust_tracepoint_ptrs_registered) { struct link_map *p = NULL; ret = dlinfo(handle, RTLD_DI_LINKMAP, &p);