]> git.kaiwu.me - haproxy.git/commit
MINOR: cli: keep track of the initcall context since kw registration
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2026 08:35:16 +0000 (09:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2026 17:06:38 +0000 (18:06 +0100)
commit5cd71f69ba4a24d92a05499749549fe9ebaf98e3
tree8def8d193af67959cd6da2b081a1b5cf54535294
parent8139795c64021dfcba2febb282b323c8cb1b6ad1
MINOR: cli: keep track of the initcall context since kw registration

Now CLI keywords registered via an initcall will be tracked during
execution, by keeping a link to their initcall location. "show threads"
now shows "exec_ctx: kw registered at @debug.c:3093" which indeed
corresponds to the initcall for the debugging commands.
include/haproxy/cli-t.h
src/cli.c