mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 07:07:04 +02:00
In the memprofile summary per DSO, we currently have to pay a high price by calling dladdr() on each symbol when doing the summary per DSO at the end, while we're not interested in these details, we just want the DSO name which can be made cheaper to obtain, and easier to manipulate. So let's create resolve_dso_name() to only extract minimal information from an address. At the moment it still uses dladdr() though it avoids all the extra expensive work, and will further be able to leverage the same mechanism as "show libs" to instantly spot DSO from address ranges. |
||
---|---|---|
.. | ||
haproxy | ||
import | ||
make |