From: Valentine Krasnobaeva Date: Thu, 17 Jul 2025 10:05:46 +0000 (+0200) Subject: MINOR: debug: add thread-cpu bindings info in 'show dev' output X-Git-Tag: v3.3-dev4~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1cc0e023ce;p=thirdparty%2Fhaproxy.git MINOR: debug: add thread-cpu bindings info in 'show dev' output Add thread-cpu bindings info in 'show dev' output, as it can be useful for debugging. --- diff --git a/src/debug.c b/src/debug.c index 2ea6d1c10..d7a2851ab 100644 --- a/src/debug.c +++ b/src/debug.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -751,6 +752,8 @@ static int debug_parse_cli_show_dev(char **args, char *payload, struct appctx *a LIM2A(normalize_rlim((ulong)post_mortem.process.boot_lim_ram.rlim_max), "unlimited"), LIM2A(normalize_rlim((ulong)post_mortem.process.run_lim_ram.rlim_max), "unlimited")); + cpu_topo_dump_summary(ha_cpu_topo, &trash); + ha_free(&err); return cli_msg(appctx, LOG_INFO, trash.area);