From: Willy Tarreau Date: Sat, 6 Aug 2022 14:44:55 +0000 (+0200) Subject: MINOR: threads: report the number of thread groups in build options X-Git-Tag: v2.7-dev3~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c80bdb2da682822c5a41326bf1847995c8630c78;p=thirdparty%2Fhaproxy.git MINOR: threads: report the number of thread groups in build options haproxy -vv shows the number of threads but didn't report the number of groups, let's add it. --- diff --git a/src/thread.c b/src/thread.c index c8462291c8..64ac476a35 100644 --- a/src/thread.c +++ b/src/thread.c @@ -1066,8 +1066,8 @@ static void __thread_init(void) thread_cpus_enabled_at_boot = thread_cpus_enabled(); - memprintf(&ptr, "Built with multi-threading support (MAX_THREADS=%d, default=%d).", - MAX_THREADS, thread_cpus_enabled_at_boot); + memprintf(&ptr, "Built with multi-threading support (MAX_TGROUPS=%d, MAX_THREADS=%d, default=%d).", + MAX_TGROUPS, MAX_THREADS, thread_cpus_enabled_at_boot); hap_register_build_opts(ptr, 1); #if defined(DEBUG_THREAD) || defined(DEBUG_FULL)