projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarify lib_ring_buffer_switch_slow() requirements
[lttng-ust.git]
/
liblttng-ust
/
lttng-getcpu.c
diff --git
a/liblttng-ust/lttng-getcpu.c
b/liblttng-ust/lttng-getcpu.c
index 751affac3cc29b747571ce786e2548be2d36f553..7cc9faa8c40f9af8cd38353ff62df44eaa1421a6 100644
(file)
--- a/
liblttng-ust/lttng-getcpu.c
+++ b/
liblttng-ust/lttng-getcpu.c
@@
-17,6
+17,7
@@
*/
#define _GNU_SOURCE
*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <error.h>
#include <dlfcn.h>
#include <stdlib.h>
#include <error.h>
#include <dlfcn.h>
#include <stdlib.h>
@@
-46,7
+47,7
@@
void lttng_ust_getcpu_init(void)
if (getcpu_handle)
return;
if (getcpu_handle)
return;
- libname = lttng_
secure_
getenv("LTTNG_UST_GETCPU_PLUGIN");
+ libname = lttng_getenv("LTTNG_UST_GETCPU_PLUGIN");
if (!libname)
return;
getcpu_handle = dlopen(libname, RTLD_NOW);
if (!libname)
return;
getcpu_handle = dlopen(libname, RTLD_NOW);
This page took
0.02647 seconds
and
4
git commands to generate.