From 1fe23d8bea7db1baf851c66ce988dd703bb4f3ca Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 22 Feb 2012 17:09:09 -0500 Subject: [PATCH] Revert "Remove gettid warning" This reverts commit 4f41890f998c2c3778213ed2a8938534fb3060e1. Signed-off-by: Mathieu Desnoyers --- include/lttng/ust-tid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.34.1