projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Add missing vtracef demo to make dist
[lttng-ust.git]
/
liblttng-ust
/
lttng-context-vtid.c
diff --git
a/liblttng-ust/lttng-context-vtid.c
b/liblttng-ust/lttng-context-vtid.c
index 80661f632d8c0305ad059706e8d6528668420a0c..0a29021d4b104b3f4cb94deea5d72069dddc7145 100644
(file)
--- a/
liblttng-ust/lttng-context-vtid.c
+++ b/
liblttng-ust/lttng-context-vtid.c
@@
-21,6
+21,7
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
+#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
#include <lttng/ust-events.h>
#include <sys/types.h>
#include <unistd.h>
#include <lttng/ust-events.h>
@@
-63,7
+64,7
@@
pid_t wrapper_getvtid(void)
vtid = CMM_LOAD_SHARED(URCU_TLS(cached_vtid));
if (caa_unlikely(!vtid)) {
vtid = CMM_LOAD_SHARED(URCU_TLS(cached_vtid));
if (caa_unlikely(!vtid)) {
- vtid = gettid();
+ vtid =
lttng_
gettid();
CMM_STORE_SHARED(URCU_TLS(cached_vtid), vtid);
}
return vtid;
CMM_STORE_SHARED(URCU_TLS(cached_vtid), vtid);
}
return vtid;
This page took
0.023605 seconds
and
4
git commands to generate.