projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move symbol preventing unloading of probe providers
[lttng-ust.git]
/
include
/
lttng
/
ust-dlfcn.h
diff --git
a/include/lttng/ust-dlfcn.h
b/include/lttng/ust-dlfcn.h
index 7471d94f689e328b77185cbbb91dc8823b957b6e..7cd5bf4811e9e2d3527dfe716f88cd187362fa91 100644
(file)
--- a/
include/lttng/ust-dlfcn.h
+++ b/
include/lttng/ust-dlfcn.h
@@
-47,7
+47,11
@@
#define dlclose glibc_dlclose_proto_lies_about_leafness
#define dlsym glibc_dlsym_proto_lies_about_leafness
#define dlerror glibc_dlerror_proto_lies_about_leafness
#define dlclose glibc_dlclose_proto_lies_about_leafness
#define dlsym glibc_dlsym_proto_lies_about_leafness
#define dlerror glibc_dlerror_proto_lies_about_leafness
+#define dlmopen glibc_dlmopen_proto_lies_about_leafness
+#define dlvsym glibc_dlvsym_proto_lies_about_leafness
#include <dlfcn.h>
#include <dlfcn.h>
+#undef dlvsym
+#undef dlmopen
#undef dlerror
#undef dlsym
#undef dlclose
#undef dlerror
#undef dlsym
#undef dlclose
@@
-58,6
+62,12
@@
extern int dlclose(void *__handle) __nonnull ((1));
extern void *dlsym(void *__restrict __handle,
__const char *__restrict __name) __nonnull ((2));
extern char *dlerror(void);
extern void *dlsym(void *__restrict __handle,
__const char *__restrict __name) __nonnull ((2));
extern char *dlerror(void);
+#ifdef __USE_GNU
+extern void *dlmopen(Lmid_t __nsid, const char *__file, int __mode);
+extern void *dlvsym(void *__restrict __handle,
+ __const char *__restrict __name,
+ __const char *__restrict __version);
+#endif
#else
#include <dlfcn.h>
#endif /* __GLIBC__ */
#else
#include <dlfcn.h>
#endif /* __GLIBC__ */
This page took
0.026061 seconds
and
4
git commands to generate.