From 1cc0e023ce16ea803e5483b0256824338847c2f8 Mon Sep 17 00:00:00 2001 From: Valentine Krasnobaeva Date: Thu, 17 Jul 2025 12:05:46 +0200 Subject: [PATCH] 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. --- src/debug.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.47.2