]> git.ipfire.org Git - thirdparty/haproxy.git/commit
IMPORT: plock: always expose the inline version of the lock wait function
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Aug 2023 20:29:45 +0000 (22:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Aug 2023 22:09:05 +0000 (00:09 +0200)
commit66dcc0550eef8401e44078fbf01f8a2cb5960b90
tree14b2e050929476adbec435547f0c6bdf9636a134
parentc6b98f05d2ee7bc91771c9a730d19dc40e3d83d9
IMPORT: plock: always expose the inline version of the lock wait function

Doing so will allow to expose the time spent in certain highly
contended functions, which can be desirable for more accurate CPU
profiling. For example this could be done in locking functions that
are already not inlined so that they are the ones being reported as
those consuming the CPU instead of just pl_wait_unlock_long().

This is plock upstream commit 7505c2e2c8c4aa0ab8f52a2288e1334ae6412be4.
include/import/plock.h