]> git.kaiwu.me - haproxy.git/commit
MINOR: debug: report the time since last wakeup and call
authorWilly Tarreau <w@1wt.eu>
Tue, 9 Sep 2025 05:26:55 +0000 (07:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 9 Sep 2025 15:56:14 +0000 (17:56 +0200)
commit25195ba1e77df8297b3361b275f5e4430e2729d8
treeb58697e0841a5eafbe5dd6948095f50b1b4e5d9c
parent12bc4f9c44beaa1a73b16171f63182f2b8140e3b
MINOR: debug: report the time since last wakeup and call

When task profiling is enabled, the current thread knows when the
currently running task was woken up and called, so we can calculate
how long ago it was woken up and called. This is convenient to figure
whether or not a warning or panic is caused by this task or by a
previous one, so let's report this info in thread outputs when known.

It would be useful to backport this to 3.2.
src/debug.c
src/task.c