Remove gettid warning
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Feb 2012 16:48:28 +0000 (11:48 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Feb 2012 16:48:28 +0000 (11:48 -0500)
Not so important, hides really useful warnings.

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

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