]> git.kaiwu.me - haproxy.git/commit
MINOR: memprof: prepare to consider exec_ctx in reporting
authorWilly Tarreau <w@1wt.eu>
Tue, 3 Mar 2026 13:02:38 +0000 (14:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2026 17:06:37 +0000 (18:06 +0100)
commit2dfc8417cf99d85760457b444f107c35bedfaa5d
tree1bfc8216995c9905ff41a66174fbdad49807b340
parentb7c8fab50771cc7a77b2c0ab2944eeec3d73e57d
MINOR: memprof: prepare to consider exec_ctx in reporting

This now allows to report the same function in multiple bins based on the
th_ctx's exec_ctx discriminant. It's also worth noting that the context is
not atomically committed, but this shouldn't be a problem since a single
entry can get it. In the worst case, a second thread trying to create the
same context in parallel would create a different bin just for this call,
which is harmless. The same situation already exists with the caller
pointer.
include/haproxy/activity-t.h
src/activity.c