commit | 60786931f063b8dc9c133d92addff4dc1e617ec4 | [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:48:50 2021 +0200 |
tree | 4b863f17a1a393ba49fa8d13d46b3e2a2949b2f0 | |
parent | e00ad05728bd1d019fa3d150c189884ad3181c7c [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. (cherry picked from commit 8cce4d79ff8e448b033aca9b4b09db3b7acf7928) Signed-off-by: Willy Tarreau <w@1wt.eu>