mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
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.
This commit is contained in:
parent
ff461efc59
commit
1cc0e023ce
@ -34,6 +34,7 @@
|
||||
#include <haproxy/cfgparse.h>
|
||||
#include <haproxy/cli.h>
|
||||
#include <haproxy/clock.h>
|
||||
#include <haproxy/cpu_topo.h>
|
||||
#include <haproxy/debug.h>
|
||||
#include <haproxy/fd.h>
|
||||
#include <haproxy/global.h>
|
||||
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user