From: Willy Tarreau Date: Wed, 22 May 2019 06:52:58 +0000 (+0200) Subject: CLEANUP: debug: always report harmless/want_rdv even without threads X-Git-Tag: v2.0-dev4~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b35ba54bc978d4833a36b0384c24712b8b20fee;p=thirdparty%2Fhaproxy.git CLEANUP: debug: always report harmless/want_rdv even without threads This way we have a more consistent output and we can remove annoying ifdefs. --- diff --git a/src/debug.c b/src/debug.c index f26f53dd76..282c828df2 100644 --- a/src/debug.c +++ b/src/debug.c @@ -55,12 +55,10 @@ void ha_thread_dump(struct buffer *buf, int thr, int calling_tid) !!(fd_cache_mask & thr_bit), !!(task_profiling_mask & thr_bit)); -#ifdef USE_THREAD chunk_appendf(buf, " harmless=%d wantrdv=%d", !!(threads_harmless_mask & thr_bit), !!(threads_want_rdv_mask & thr_bit)); -#endif chunk_appendf(buf, "\n"); chunk_appendf(buf, " cpu_ns: poll=%llu now=%llu diff=%llu\n", p, n, n-p);