*/
#define _LGPL_SOURCE
+#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
#include <lttng/ust-events.h>
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;