Revert "Remove gettid warning"
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Feb 2012 22:09:09 +0000 (17:09 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Feb 2012 22:09:09 +0000 (17:09 -0500)
This reverts commit 4f41890f998c2c3778213ed2a8938534fb3060e1.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-tid.h

index 57272db813fd99c79f85bc502af46c99f4e3acd8..c6819f25a734d860c1e9cfcc603700b94871ff30 100644 (file)
@@ -34,7 +34,7 @@ static inline pid_t gettid(void)
 #include <sys/types.h>
 #include <unistd.h>
 
-/* Fall-back on getpid for tid if not available. */
+#warning "use pid as tid"
 static inline pid_t gettid(void)
 {
        return getpid();
This page took 0.025168 seconds and 4 git commands to generate.