mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02:00
CLEANUP: debug: always report harmless/want_rdv even without threads
This way we have a more consistent output and we can remove annoying ifdefs.
This commit is contained in:
parent
441259c561
commit
8b35ba54bc
@ -55,12 +55,10 @@ void ha_thread_dump(struct buffer *buf, int thr, int calling_tid)
|
|||||||
!!(fd_cache_mask & thr_bit),
|
!!(fd_cache_mask & thr_bit),
|
||||||
!!(task_profiling_mask & thr_bit));
|
!!(task_profiling_mask & thr_bit));
|
||||||
|
|
||||||
#ifdef USE_THREAD
|
|
||||||
chunk_appendf(buf,
|
chunk_appendf(buf,
|
||||||
" harmless=%d wantrdv=%d",
|
" harmless=%d wantrdv=%d",
|
||||||
!!(threads_harmless_mask & thr_bit),
|
!!(threads_harmless_mask & thr_bit),
|
||||||
!!(threads_want_rdv_mask & thr_bit));
|
!!(threads_want_rdv_mask & thr_bit));
|
||||||
#endif
|
|
||||||
|
|
||||||
chunk_appendf(buf, "\n");
|
chunk_appendf(buf, "\n");
|
||||||
chunk_appendf(buf, " cpu_ns: poll=%llu now=%llu diff=%llu\n", p, n, n-p);
|
chunk_appendf(buf, " cpu_ns: poll=%llu now=%llu diff=%llu\n", p, n, n-p);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user