]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: activity: allow to switch per-task lock/memory profiling at runtime
authorWilly Tarreau <w@1wt.eu>
Tue, 10 Feb 2026 15:57:55 +0000 (16:57 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Feb 2026 16:53:01 +0000 (17:53 +0100)
commitc724693b952be6f85de26cf507278782066bc2d8
tree33a2b0195f32646b4759bf11333fa69962b51b6e
parente2631ee5f7a1d10b403238ea45d2ff577794de79
MINOR: activity: allow to switch per-task lock/memory profiling at runtime

Given that we already have "set profiling task", it's easy to permit to
enable/disable the lock and/or memory profiling at run time. However, the
change will only be applied next time the task profiling will be switched
from off/auto to on.

The patch is very minor and is best viewed with git show -b because it
indents a whole block that moves in a "if" clause.

This can be backported to 3.3 along with the two previous patches.
doc/management.txt
src/activity.c