mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-24 18:31:41 -05: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue