projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: use DEFINE_URCU_TLS_INIT for all CONFIG_RCU_TLS configurations
[lttng-ust.git]
/
liblttng-ust
/
lttng-context-uts-ns.c
diff --git
a/liblttng-ust/lttng-context-uts-ns.c
b/liblttng-ust/lttng-context-uts-ns.c
index fb2d89f94bfa3ceee709fce0179e0dfb7c64a22e..13b7a46985b2b1ebb5bf658eccb8df154d06392d 100644
(file)
--- a/
liblttng-ust/lttng-context-uts-ns.c
+++ b/
liblttng-ust/lttng-context-uts-ns.c
@@
-22,6
+22,7
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
+#include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
@@
-38,7
+39,7
@@
* We cache the result to ensure we don't stat(2) the proc filesystem on
* each event.
*/
* We cache the result to ensure we don't stat(2) the proc filesystem on
* each event.
*/
-static DEFINE_URCU_TLS
(ino_t, cached_uts_ns) = NS_INO_UNINITIALIZED
;
+static DEFINE_URCU_TLS
_INIT(ino_t, cached_uts_ns, NS_INO_UNINITIALIZED)
;
static
ino_t get_uts_ns(void)
static
ino_t get_uts_ns(void)
This page took
0.022527 seconds
and
4
git commands to generate.