projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tracepoint API namespacing 'TRACEPOINT_DEFINE'
[lttng-ust.git]
/
src
/
lib
/
lttng-ust-dl
/
lttng-ust-dl.c
diff --git
a/src/lib/lttng-ust-dl/lttng-ust-dl.c
b/src/lib/lttng-ust-dl/lttng-ust-dl.c
index 8470dfa39cf0b5ff221d741687d8fed5aacdccc4..e342fb2d0ed8b85971e13e51f0da19068d66d5eb 100644
(file)
--- 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 <link.h>
/* Include link.h last else it conflicts with ust-dlfcn. */
#include <link.h>
-#define TRACEPOINT_DEFINE
+#define
LTTNG_UST_
TRACEPOINT_DEFINE
#include "ust_dl.h"
static void *(*__lttng_ust_plibc_dlopen)(const char *filename, int flags);
#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);
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;
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);
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;
struct link_map *p = NULL;
int ret;
@@
-248,7
+248,7
@@
int dlclose(void *handle)
{
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);
struct link_map *p = NULL;
ret = dlinfo(handle, RTLD_DI_LINKMAP, &p);
This page took
0.044378 seconds
and
4
git commands to generate.