commit | 8cce4d79ff8e448b033aca9b4b09db3b7acf7928 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Oct 22 16:26:12 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 22 16:40:09 2021 +0200 |
tree | 1da672625776bb562712744001868415efa2809b | |
parent | a5efdff93c36f75345a2a18f18bffee9b602bc7b [diff] |
MINOR: memprof: report the delta between alloc and free on realloc() realloc() calls are painful to analyse because they have two non-zero columns and trying to spot a leaking one requires a bit of scripting. Let's simply append the delta at the end of the line when alloc and free are non-nul. It would be useful to backport this to 2.4 to help with bug reports.