From 8b35ba54bc978d4833a36b0384c24712b8b20fee Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 22 May 2019 08:52:58 +0200 Subject: [PATCH] CLEANUP: debug: always report harmless/want_rdv even without threads This way we have a more consistent output and we can remove annoying ifdefs. --- src/debug.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/debug.c b/src/debug.c index f26f53dd7..282c828df 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);