/* Include link.h last else it conflicts with ust-dlfcn. */
#include <link.h>
-#define TRACEPOINT_DEFINE
+#define LTTNG_UST_TRACEPOINT_HIDDEN_DEFINITION
+#define LTTNG_UST_TRACEPOINT_DEFINE
#include "ust_dl.h"
static void *(*__lttng_ust_plibc_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;
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;
{
int ret;
- if (__tracepoint_ptrs_registered) {
+ if (lttng_ust_tracepoint_ptrs_registered) {
struct link_map *p = NULL;
ret = dlinfo(handle, RTLD_DI_LINKMAP, &p);