MINOR: activity: interrupt the show profile dump more often
authorWilly Tarreau <w@1wt.eu>
Thu, 21 Nov 2024 11:02:35 +0000 (12:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 Nov 2024 18:58:06 +0000 (19:58 +0100)
commit9a8b834435863762ba4002e560b872ddb9056d58
tree53abdb7622bc2e286d78f76ffc3bbc4465f472e9
parent5ddc8b3ad4190583aa6f0996a7401d6f2d4fe78e
MINOR: activity: interrupt the show profile dump more often

The calls to resolv_sym_name() can be a bit expensive. Forcing to
yield more often is better for the latency and will avoid the
watchdog reporting warnings.

Note that it's still called in the sort at the end, but that one
cannot be avoided. At best we could try to rely on the list of libs
but that's not trivial and not always present.
src/activity.c