Browse code

core: add TLSF in version flags string

Camille Oudot authored on 10/08/2015 13:07:10
Showing 1 changed files
... ...
@@ -153,6 +153,12 @@
153 153
 #define LL_MALLOC_STR ""
154 154
 #endif
155 155
 
156
+#ifdef TLSF_MALLOC
157
+#define TLSF_MALLOC_STR ", TLSF_MALLOC"
158
+#else
159
+#define TLSF_MALLOC_STR ""
160
+#endif
161
+
156 162
 #ifdef USE_SHM_MEM
157 163
 #define USE_SHM_MEM_STR ", USE_SHM_MEM"
158 164
 #else
... ...
@@ -189,6 +195,12 @@
189 195
 #define DBG_LL_MALLOC_STR ""
190 196
 #endif
191 197
 
198
+#ifdef DBG_TLSF_MALLOC
199
+#define DBG_TLSF_MALLOC_STR ", DBG_TLSF_MALLOC"
200
+#else
201
+#define DBG_TLSF_MALLOC_STR ""
202
+#endif
203
+
192 204
 #ifdef TIMER_DEBUG
193 205
 #define TIMER_DEBUG_STR ", TIMER_DEBUG"
194 206
 #else
... ...
@@ -323,10 +335,10 @@
323 335
 	USE_SCTP_STR CORE_TLS_STR TLS_HOOKS_STR  USE_RAW_SOCKS_STR \
324 336
 	DISABLE_NAGLE_STR USE_MCAST_STR NO_DEBUG_STR NO_LOG_STR \
325 337
 	NO_SIG_DEBUG_STR DNS_IP_HACK_STR  SHM_MEM_STR SHM_MMAP_STR PKG_MALLOC_STR \
326
-	F_MALLOC_STR DL_MALLOC_STR SF_MALLOC_STR  LL_MALLOC_STR \
338
+	F_MALLOC_STR DL_MALLOC_STR SF_MALLOC_STR  LL_MALLOC_STR TLSF_MALLOC_STR \
327 339
 	USE_SHM_MEM_STR \
328 340
 	DBG_QM_MALLOC_STR \
329
-	DBG_F_MALLOC_STR DEBUG_DMALLOC_STR DBG_SF_MALLOC_STR DBG_LL_MALLOC_STR \
341
+	DBG_F_MALLOC_STR DEBUG_DMALLOC_STR DBG_SF_MALLOC_STR DBG_LL_MALLOC_STR DBG_TLSF_MALLOC_STR \
330 342
 	TIMER_DEBUG_STR \
331 343
 	USE_FUTEX_STR \
332 344
 	FAST_LOCK_STR NOSMP_STR USE_PTHREAD_MUTEX_STR USE_POSIX_SEM_STR \