From: Mathieu Desnoyers Date: Wed, 22 Feb 2012 22:09:09 +0000 (-0500) Subject: Revert "Remove gettid warning" X-Git-Tag: v2.0.0-rc2~42 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1fe23d8bea7db1baf851c66ce988dd703bb4f3ca;p=lttng-ust.git Revert "Remove gettid warning" This reverts commit 4f41890f998c2c3778213ed2a8938534fb3060e1. Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-tid.h b/include/lttng/ust-tid.h index 57272db8..c6819f25 100644 --- a/include/lttng/ust-tid.h +++ b/include/lttng/ust-tid.h @@ -34,7 +34,7 @@ static inline pid_t gettid(void) #include #include -/* Fall-back on getpid for tid if not available. */ +#warning "use pid as tid" static inline pid_t gettid(void) { return getpid();